Skip to content

Commit

Permalink
LightPositionTool : Fix lingering pivot indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Mar 19, 2024
1 parent 6e8a067 commit 1417404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Fixes
-----

- PlugAlgo : Updated `canSetValueFromData()`, `setValueFromData()` and `getValueAsData()` with support for missing types.
- LightPosition Tool : Fixed lingering shadow pivot point after placing a shadow pivot, switching to highlight mode and switching back to shadow mode [^1].

1.4.0.0b4 (relative to 1.4.0.0b3)
=========
Expand Down
1 change: 1 addition & 0 deletions src/GafferSceneUI/LightPositionTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,7 @@ void LightPositionTool::plugSet( Plug *plug )
{
auto h = static_cast<DistanceHandle *>( m_distanceHandle.get() );
h->setRequiresPivot( modePlug()->getValue() == (int)Mode::Shadow );
updateHandles( m_rotateHandle->getRasterScale() );
}
}

Expand Down

0 comments on commit 1417404

Please sign in to comment.