parent
50c0b0b1a9
commit
e64575b60f
|
@ -14,6 +14,10 @@ Activate / deactivate layer opaticty according to prefix
|
|||
Activate / deactivate all masks using MA layers
|
||||
-->
|
||||
|
||||
0.6.2
|
||||
|
||||
- fix: problem sending all visible GP
|
||||
|
||||
0.6.1:
|
||||
|
||||
- fix: in generated bat use %Username% variable (still limited to studio path model)
|
||||
|
|
|
@ -90,7 +90,7 @@ class GPEXP_OT_add_objects_to_render(bpy.types.Operator):
|
|||
# if not scn:
|
||||
# self.report({'ERROR'}, 'Could not found default scene')
|
||||
# return {"CANCELLED"}
|
||||
export_gp_objects([o for o in scn.objects if o.type == 'GPENCIL' and not o.hide_get()], exclude_list=excludes, scene=scn)
|
||||
export_gp_objects([o for o in context.scene.objects if o.type == 'GPENCIL' and not o.hide_get()], exclude_list=excludes, scene=scn)
|
||||
|
||||
return {"FINISHED"}
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ class GPEXP_OT_render_selected_scene(bpy.types.Operator):
|
|||
continue
|
||||
|
||||
print(f'\n --> Rendering {scn.name}')
|
||||
# bpy.context.window.scene = scn
|
||||
# bpy.context.window.scene = scn # no need
|
||||
bpy.ops.render.render(animation=True, scene=scn.name)
|
||||
ct += 1
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ bl_info = {
|
|||
"name": "GP Render",
|
||||
"description": "Organise export of gp layers through compositor output",
|
||||
"author": "Samuel Bernou",
|
||||
"version": (0, 6, 1),
|
||||
"version": (0, 6, 2),
|
||||
"blender": (2, 93, 0),
|
||||
"location": "View3D",
|
||||
"warning": "",
|
||||
|
|
Loading…
Reference in New Issue