fix draw cam with multi cams
2.2.2 - fixed: draw_cam data not changed when working with multiple camera in a shotgpv2
parent
8e223b9f3a
commit
eaf9c3b22f
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
2.2.2
|
||||
|
||||
- fixed: draw_cam data not changed when working with multiple camera in a shot
|
||||
|
||||
2.2.1
|
||||
|
||||
- added: class View3D to calculate area 3d related coordinates
|
||||
|
|
|
@ -232,10 +232,13 @@ class GPTB_OT_draw_cam(bpy.types.Operator):
|
|||
drawcam.lock_location = (True,True,True)
|
||||
# drawcam.hide_viewport = True
|
||||
context.scene.gptoolprops.drawcam_passepartout = maincam.data.show_passepartout
|
||||
drawcam.data = maincam.data # get data from parent
|
||||
|
||||
# Hide the other passepartout to let only the custom OpenGL one
|
||||
maincam.data.show_passepartout = False
|
||||
|
||||
|
||||
else:
|
||||
# object cam
|
||||
if created:
|
||||
drawcam['maincam_name'] = context.scene.camera.name
|
||||
drawcam.parent = act
|
||||
|
|
|
@ -4,7 +4,7 @@ bl_info = {
|
|||
"name": "GP toolbox",
|
||||
"description": "Tool set for Grease Pencil in animation production",
|
||||
"author": "Samuel Bernou, Christophe Seux",
|
||||
"version": (2, 2, 1),
|
||||
"version": (2, 2, 2),
|
||||
"blender": (3, 0, 0),
|
||||
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
||||
"warning": "",
|
||||
|
|
Loading…
Reference in New Issue