Skip to content

Commit

Permalink
Merge pull request #5930 from johnhaddon/sceneInspectorEnumFix
Browse files Browse the repository at this point in the history
SceneInspector : Fix icon names
  • Loading branch information
ericmehl authored Jul 2, 2024
2 parents 0c06fe4 + 991eaae commit 0911923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Fixes
- HierarchyView, LightEditor, PrimitiveInspector, SceneInspector : Fixed bug which allowed scenes from private plugs to be displayed.
- PrimitiveInspector : Fixed bug which claimed "Location does not exist" for objects without any primitive variables.
- OpenColorIO : Fixed the display transform used to show colours in popups.
- SceneInspector : Fixed "Show History" menu items.

API
---
Expand Down
2 changes: 1 addition & 1 deletion python/GafferSceneUI/SceneInspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ def __init__( self, type, **kw ) :
else :
GafferUI.Spacer( imath.V2i( 1 ) )

GafferUI.Image( "rail" + str( type ) + ".png" )
GafferUI.Image( "rail" + type.name + ".png" )

if type != self.Type.Bottom and type != self.Type.Single :
image = GafferUI.Image( "railLine.png" )
Expand Down

0 comments on commit 0911923

Please sign in to comment.