diff --git a/fn.py b/fn.py index 2113f0b..5537c6a 100644 --- a/fn.py +++ b/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')