mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
hound
This commit is contained in:
parent
25e216b0c4
commit
29876a496e
1 changed files with 0 additions and 10 deletions
|
|
@ -195,16 +195,6 @@ def panel_camera(panel, camera):
|
|||
cmds.modelPanel(panel, edit=True, camera=original_camera)
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
def panel_camera(panel, camera):
|
||||
original_camera = cmds.modelPanel(panel, query=True, camera=True)
|
||||
try:
|
||||
cmds.modelPanel(panel, edit=True, camera=camera)
|
||||
yield
|
||||
finally:
|
||||
cmds.modelPanel(panel, edit=True, camera=original_camera)
|
||||
|
||||
|
||||
def capture_with_preset(preset, instance):
|
||||
"""Function for playblast capturing with the preset options
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue