mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update openpype/hosts/maya/plugins/load/load_reference.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
parent
951f868cef
commit
e62b0e48cb
1 changed files with 2 additions and 0 deletions
|
|
@ -218,6 +218,8 @@ class ReferenceLoader(openpype.hosts.maya.api.plugin.ReferenceLoader):
|
|||
@staticmethod
|
||||
def _update_model_panels(container, update_panels):
|
||||
# Update the modelPanels to contain the new camera
|
||||
if not update_panels:
|
||||
return
|
||||
members = get_container_members(container)
|
||||
new_cameras = cmds.ls(members, type="camera", long=True)
|
||||
new_camera = new_cameras[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue