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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user