skip hidden object (viewport or in render) in autobuild
1.8.17 - changed: in autobuild, ignore object that are not visible in scene or with render toggle off
This commit is contained in:
parent
d2a19ae9e3
commit
0dae5157b1
@ -13,6 +13,11 @@ if duplicate, need to "connect" with namespace ('_duprender') or something
|
||||
Activate / deactivate layer opacity according to prefix
|
||||
Activate / deactivate all masks using MA layers
|
||||
-->
|
||||
|
||||
1.8.17
|
||||
|
||||
- changed: in autobuild, skip object that are not visible in scene or with render toggle off
|
||||
|
||||
1.8.16
|
||||
|
||||
- fixed: Better reorder socket. Still not perfect, can have bad result if there some unconnected sockets on both sides.
|
||||
|
@ -202,7 +202,7 @@ class GPEXP_OT_render_auto_build(bpy.types.Operator):
|
||||
scn.gp_render_settings.node_scene = node_scene.name
|
||||
scn.gp_render_settings.render_scene = render_scn.name
|
||||
|
||||
all_gp_objects = [o for o in context.scene.objects if o.type == 'GPENCIL']
|
||||
all_gp_objects = [o for o in context.scene.objects if o.type == 'GPENCIL' and o.visible_get() and not o.hide_render]
|
||||
|
||||
## Exclude Background GP (is_background is a custom property set by the addon "Background Plane Manager")
|
||||
if self.exclude_background_gp:
|
||||
|
@ -2,7 +2,7 @@ bl_info = {
|
||||
"name": "GP Render",
|
||||
"description": "Organise export of gp layers through compositor output",
|
||||
"author": "Samuel Bernou",
|
||||
"version": (1, 8, 16),
|
||||
"version": (1, 8, 17),
|
||||
"blender": (3, 0, 0),
|
||||
"location": "View3D",
|
||||
"warning": "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user