export main Scene crop with it's own name
parent
266079410a
commit
e3f97e7e61
2
fn.py
2
fn.py
|
@ -847,7 +847,7 @@ def export_crop_to_json():
|
|||
|
||||
## use name of first found visible GP (scene name if no visible GP)
|
||||
gps = [o for o in scn.objects if o.type == 'GPENCIL' if is_render_included(o, scn)] # o.visible_get() < only work on active window
|
||||
if gps:
|
||||
if gps and scn.name != 'Scene': # always export Scene with Scene name...
|
||||
for ob in gps:
|
||||
coord_dic[ob.name] = scn_border
|
||||
print(f'Added gp {ob.name} crop info')
|
||||
|
|
Loading…
Reference in New Issue