Reset the frame range on new scene in Maya.

This commit is contained in:
Toke Jepsen 2019-06-28 10:30:06 +01:00
parent 116fd19a9d
commit 710dac2b5d

View file

@ -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():