Fix changed location of reset_frame_range

Location in commands caused cyclic import
This commit is contained in:
Petr Kalis 2023-02-20 18:33:15 +01:00
parent 3b5094eed6
commit 72134d4a21
4 changed files with 50 additions and 53 deletions

View file

@ -12,7 +12,6 @@ from openpype.pipeline.workfile import BuildWorkfile
from openpype.tools.utils import host_tools
from openpype.hosts.maya.api import lib, lib_rendersettings
from .lib import get_main_window, IS_HEADLESS
from .commands import reset_frame_range
from .workfile_template_builder import (
create_placeholder,
@ -113,7 +112,7 @@ def install():
cmds.menuItem(
"Reset Frame Range",
command=lambda *args: reset_frame_range()
command=lambda *args: lib.reset_frame_range()
)
cmds.menuItem(