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
|
Activate / deactivate all masks using MA layers
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
1.7.4
|
||||||
|
|
||||||
|
- removed: Restriction to use default scene "Scene"
|
||||||
|
|
||||||
1.7.3
|
1.7.3
|
||||||
|
|
||||||
- added: Optional string templates for fileoutputs
|
- added: Optional string templates for fileoutputs
|
||||||
|
|
|
@ -59,7 +59,7 @@ def check_file_output_numbering(reports=None):
|
||||||
prenum = re.compile(r'\d{3}_')
|
prenum = re.compile(r'\d{3}_')
|
||||||
file_outs = []
|
file_outs = []
|
||||||
for S in bpy.data.scenes:
|
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
|
continue
|
||||||
file_outs += [n for n in S.node_tree.nodes if n.type == 'OUTPUT_FILE']
|
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:
|
# multi scene check:
|
||||||
file_outs = []
|
file_outs = []
|
||||||
for S in bpy.data.scenes:
|
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
|
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]
|
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()
|
start = time()
|
||||||
ct = 0
|
ct = 0
|
||||||
for scn in bpy.data.scenes:
|
for scn in bpy.data.scenes:
|
||||||
if scn.name == 'Scene':
|
# if scn.name == 'Scene':
|
||||||
continue
|
# continue
|
||||||
if not scn.use_nodes:
|
if not scn.use_nodes:
|
||||||
continue
|
continue
|
||||||
outfiles = [n for n in scn.node_tree.nodes if n.type == 'OUTPUT_FILE']
|
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}'
|
ng_name = f'NG_{ob.name}'
|
||||||
## check in wich node tree this exists
|
## check in wich node tree this exists
|
||||||
for scn in bpy.data.scenes:
|
for scn in bpy.data.scenes:
|
||||||
if scn.name == 'Scene':
|
# if scn.name == 'Scene':
|
||||||
continue
|
# continue
|
||||||
ng = scn.node_tree.nodes.get(ng_name)
|
ng = scn.node_tree.nodes.get(ng_name)
|
||||||
if ng:
|
if ng:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue