Skip to content

Commit 6010c4c

Browse files
tallytalwarpixar-oss
authored andcommitted
Add UIPropertyValueSourceColor for Usd.ResolveInfoSourceSpline
(Internal change: 2365258)
1 parent 35f3cae commit 6010c4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pxr/usdImaging/usdviewq/common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class UIPropertyValueSourceColors(ConstantsGroup):
6161
DEFAULT = UIBaseColors.LIGHT_SKY_BLUE
6262
NONE = QtGui.QBrush(QtGui.QColor(140, 140, 140))
6363
VALUE_CLIPS = QtGui.QBrush(QtGui.QColor(230, 150, 230))
64+
SPLINE = QtGui.QBrush(QtGui.QColor(160, 50, 40))
6465

6566
class UIFonts(ConstantsGroup):
6667
# Font constants. We use font in the prim browser to distinguish
@@ -329,7 +330,8 @@ def GetPropertyColor(prop, frame, hasValue=None, hasAuthoredValue=None,
329330
Usd.ResolveInfoSourceDefault : UIPropertyValueSourceColors.DEFAULT,
330331
Usd.ResolveInfoSourceValueClips : UIPropertyValueSourceColors.VALUE_CLIPS,
331332
Usd.ResolveInfoSourceTimeSamples: UIPropertyValueSourceColors.TIME_SAMPLE,
332-
Usd.ResolveInfoSourceNone : UIPropertyValueSourceColors.NONE}
333+
Usd.ResolveInfoSourceNone : UIPropertyValueSourceColors.NONE,
334+
Usd.ResolveInfoSourceSpline : UIPropertyValueSourceColors.SPLINE}
333335

334336
valueSource = _GetAttributeStatus(prop, frame)
335337

0 commit comments

Comments
 (0)