tweak startup, add multi layer merge

1.3.4

- added: multi object merge
- changed: little tweak on GP render startup
This commit is contained in:
pullusb
2023-06-07 17:31:38 +02:00
parent 04d6349d1c
commit bc5a046bec
6 changed files with 23 additions and 6 deletions
+4 -1
View File
@@ -413,7 +413,10 @@ def get_frames_bbox(node_tree):
## -- nodes helper functions
def merge_gplayer_viewlayers(ob, act=None, layers=None):
def merge_gplayer_viewlayers(ob=None, act=None, layers=None):
'''ob is not needed if active and layers are passed'''
if ob is None:
ob = bpy.context.object
if act is None:
act = ob.data.layers.active
if layers is None: