Remove swapping to "bg_cam" in autobuild
1.8.18 - fixed: remove the switch to "bg_cam" (when exists) in autobuild
This commit is contained in:
parent
0dae5157b1
commit
3904ffa024
@ -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.8.18
|
||||||
|
|
||||||
|
- fixed: remove the switch to "bg_cam" (when exists) in autobuild
|
||||||
|
|
||||||
1.8.17
|
1.8.17
|
||||||
|
|
||||||
- changed: in autobuild, skip object that are not visible in scene or with render toggle off
|
- changed: in autobuild, skip object that are not visible in scene or with render toggle off
|
||||||
|
@ -34,9 +34,10 @@ def batch_setup_render_scene(context=None, render_scn=None, node_scene=None, pre
|
|||||||
# print('Swap to bg cam')
|
# print('Swap to bg cam')
|
||||||
# bpy.ops.gp.swap_render_cams()
|
# bpy.ops.gp.swap_render_cams()
|
||||||
|
|
||||||
if render_scn.objects.get('bg_cam'):
|
## Switch to bg_cam (bad to set a camera by name)
|
||||||
render_scn.camera = render_scn.objects.get('bg_cam')
|
# if render_scn.objects.get('bg_cam'):
|
||||||
fn.set_resolution_from_cam_prop(scene=render_scn)
|
# render_scn.camera = render_scn.objects.get('bg_cam')
|
||||||
|
# fn.set_resolution_from_cam_prop(scene=render_scn)
|
||||||
|
|
||||||
## Go to camera view in visible viewports (! Need timer + Already done in workspace script!)
|
## Go to camera view in visible viewports (! Need timer + Already done in workspace script!)
|
||||||
# if not bpy.app.background:
|
# if not bpy.app.background:
|
||||||
|
@ -2,7 +2,7 @@ bl_info = {
|
|||||||
"name": "GP Render",
|
"name": "GP Render",
|
||||||
"description": "Organise export of gp layers through compositor output",
|
"description": "Organise export of gp layers through compositor output",
|
||||||
"author": "Samuel Bernou",
|
"author": "Samuel Bernou",
|
||||||
"version": (1, 8, 17),
|
"version": (1, 8, 18),
|
||||||
"blender": (3, 0, 0),
|
"blender": (3, 0, 0),
|
||||||
"location": "View3D",
|
"location": "View3D",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user