Skip to content

Commit

Permalink
fixup! VisualiserTool : Add primitive variable menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Dec 17, 2024
1 parent 8ffbca4 commit 6ffa886
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/GafferSceneUI/VisualiserToolUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ def __primitiveVariableContextMenu( menuDefinition, plugValueWidget ) :
primVars = []

for path in selection.paths() :
if not scenePlug.exists( path ) :
continue

primitive = scenePlug.object( path )
if not isinstance( primitive, IECoreScene.MeshPrimitive ) :
continue
Expand Down

0 comments on commit 6ffa886

Please sign in to comment.