parent
c5d84ddb16
commit
bd7b022af8
|
@ -14,6 +14,10 @@ Activate / deactivate layer opacity according to prefix
|
||||||
Activate / deactivate all masks using MA layers
|
Activate / deactivate all masks using MA layers
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
1.8.9
|
||||||
|
|
||||||
|
- fixed: error when setting object active at the end of autobuild
|
||||||
|
|
||||||
1.8.8
|
1.8.8
|
||||||
|
|
||||||
- added: Add `export transformation to AE` in export menu:
|
- added: Add `export transformation to AE` in export menu:
|
||||||
|
|
|
@ -329,7 +329,7 @@ class GPEXP_OT_render_auto_build(bpy.types.Operator):
|
||||||
# batch_setup_render_scene(render_scn=render_scn)
|
# batch_setup_render_scene(render_scn=render_scn)
|
||||||
|
|
||||||
## set at least one GP object active
|
## set at least one GP object active
|
||||||
gp_ob = next((o for o in render_scn.objects if o.type == 'GPENCIL'), None)
|
gp_ob = next((o for o in context.view_layer.objects if o.type == 'GPENCIL'), None)
|
||||||
if gp_ob:
|
if gp_ob:
|
||||||
context.view_layer.objects.active = gp_ob
|
context.view_layer.objects.active = gp_ob
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ bl_info = {
|
||||||
"name": "GP Render",
|
"name": "GP Render",
|
||||||
"description": "Organise export of gp layers through compositor output",
|
"description": "Organise export of gp layers through compositor output",
|
||||||
"author": "Samuel Bernou",
|
"author": "Samuel Bernou",
|
||||||
"version": (1, 8, 8),
|
"version": (1, 8, 9),
|
||||||
"blender": (3, 0, 0),
|
"blender": (3, 0, 0),
|
||||||
"location": "View3D",
|
"location": "View3D",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
|
Loading…
Reference in New Issue