Skip to content

Commit

Permalink
SceneInspector : Fix icon names
Browse files Browse the repository at this point in the history
These were broken during the switch to `enum.Enum` in #5559. With a little bit of luck, this will be the last flick of the extremely long tail of bugs coming from that change.
  • Loading branch information
johnhaddon authored and ericmehl committed Jul 2, 2024
1 parent 0c06fe4 commit 991eaae
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 991eaae

Please sign in to comment.