Remove default scene use restriction
parent
2251313794
commit
fbbc0ecaf3
|
@ -14,6 +14,10 @@ Activate / deactivate layer opacity according to prefix
|
|||
Activate / deactivate all masks using MA layers
|
||||
-->
|
||||
|
||||
1.7.4
|
||||
|
||||
- removed: Restriction to use default scene "Scene"
|
||||
|
||||
1.7.3
|
||||
|
||||
- added: Optional string templates for fileoutputs
|
||||
|
|
|
@ -59,7 +59,7 @@ def check_file_output_numbering(reports=None):
|
|||
prenum = re.compile(r'\d{3}_')
|
||||
file_outs = []
|
||||
for S in bpy.data.scenes:
|
||||
if S.name == 'Scene' or not S.node_tree or not S.use_nodes:
|
||||
if not S.node_tree or not S.use_nodes: # S.name == 'Scene' or
|
||||
continue
|
||||
file_outs += [n for n in S.node_tree.nodes if n.type == 'OUTPUT_FILE']
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ def renumber_sequence_on_disk_from_file_slots(apply=True, active_scene_only=Fals
|
|||
# multi scene check:
|
||||
file_outs = []
|
||||
for S in bpy.data.scenes:
|
||||
if S.name == 'Scene' or not S.node_tree or not S.use_nodes:
|
||||
if not S.node_tree or not S.use_nodes: # S.name == 'Scene' or
|
||||
continue
|
||||
file_outs += [n for n in S.node_tree.nodes if n.type == 'OUTPUT_FILE' and n.name.startswith('OUT_') and not n.mute]
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@ class GPEXP_OT_render_all_scenes(bpy.types.Operator):
|
|||
start = time()
|
||||
ct = 0
|
||||
for scn in bpy.data.scenes:
|
||||
if scn.name == 'Scene':
|
||||
continue
|
||||
# if scn.name == 'Scene':
|
||||
# continue
|
||||
if not scn.use_nodes:
|
||||
continue
|
||||
outfiles = [n for n in scn.node_tree.nodes if n.type == 'OUTPUT_FILE']
|
||||
|
|
|
@ -20,8 +20,8 @@ def check_outname(ob, l):
|
|||
ng_name = f'NG_{ob.name}'
|
||||
## check in wich node tree this exists
|
||||
for scn in bpy.data.scenes:
|
||||
if scn.name == 'Scene':
|
||||
continue
|
||||
# if scn.name == 'Scene':
|
||||
# continue
|
||||
ng = scn.node_tree.nodes.get(ng_name)
|
||||
if ng:
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue