This commit is contained in:
2025-11-30 14:49:16 +08:00
parent 021c593241
commit de46c4b073
1406 changed files with 526774 additions and 1221 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)