This commit is contained in:
2025-11-23 23:31:18 +08:00
parent d60cdc52fd
commit 9f7667a475
710 changed files with 252869 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
from ..pyside import QtCore
from maya import cmds
from ..optionvar import (
ISOLATE_CURRENT_PANEL_SHAPES, DISPLAY_HIERARCHY_IN_CANVAS)
class DisplayOptions(QtCore.QObject):
options_changed = QtCore.Signal()
def __init__(self):
super(DisplayOptions, self).__init__()
self.isolate = cmds.optionVar(query=ISOLATE_CURRENT_PANEL_SHAPES)
self.current_panel = -1
self.highlighted_children_ids = []
state = cmds.optionVar(query=DISPLAY_HIERARCHY_IN_CANVAS)
self.display_hierarchy = bool(state)