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 committed Jun 28, 2024
1 parent 1b34963 commit 7498ad0
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 @@ -6,6 +6,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.
- SceneInspector : Fixed "Show History" menu items.

1.4.8.0 (relative to 1.4.7.0)
=======
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 7498ad0

Please sign in to comment.