code render scene comments cleanup
This commit is contained in:
@@ -262,12 +262,6 @@ def get_render_scene():
|
||||
## With data
|
||||
render_scn = bpy.data.scenes.new('Render')
|
||||
|
||||
## With ops (goes directly into scene)
|
||||
# bpy.ops.scene.new(type='NEW')
|
||||
# render_scn = bpy.context.scene
|
||||
# print('render_scn: ', render_scn)
|
||||
# render_scn.name = 'Render'
|
||||
|
||||
## copy original settings over to new scene
|
||||
# copy_settings(current, render_scn) # BAD
|
||||
for attr in ['frame_start', 'frame_end', 'frame_current', 'camera', 'world']:
|
||||
@@ -1263,9 +1257,6 @@ def export_crop_to_json() -> dict:
|
||||
coord_dic = {}
|
||||
|
||||
for scn in bpy.data.scenes:
|
||||
# if scn.name in {'Scene', 'Render'}:
|
||||
# if scn.name == 'Scene':
|
||||
# continue
|
||||
if scn.render.use_border and scn.render.use_crop_to_border: # Only usefull if cropped
|
||||
scn_border = get_crop_pixel_coord(scn)
|
||||
## Only scn name (meaning only one name to refer if multiple GP)
|
||||
|
||||
Reference in New Issue
Block a user