mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Reset the frame range on new scene in Maya.
This commit is contained in:
parent
116fd19a9d
commit
710dac2b5d
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ import maya.api.OpenMaya as om
|
|||
from avalon import api, maya, io, pipeline
|
||||
from avalon.vendor.six import string_types
|
||||
import avalon.maya.lib
|
||||
import avalon.maya.interactive
|
||||
|
||||
from pype import lib
|
||||
|
||||
|
|
@ -1873,6 +1874,9 @@ def set_context_settings():
|
|||
|
||||
set_scene_resolution(width, height)
|
||||
|
||||
# Set frame range.
|
||||
avalon.maya.interactive.reset_frame_range()
|
||||
|
||||
|
||||
# Valid FPS
|
||||
def validate_fps():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue