Skip to content

Commit

Permalink
LightTool : Don't update inspections during drag
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Aug 14, 2023
1 parent 523e44a commit e487a81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/GafferSceneUI/LightTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2443,6 +2443,11 @@ void LightTool::metadataChanged( InternedString key )

void LightTool::updateHandleInspections()
{
if( m_dragging )
{
return;
}

auto scene = scenePlug()->getInput<ScenePlug>();
scene = scene ? scene->getInput<ScenePlug>() : scene;
if( !scene )
Expand Down

0 comments on commit e487a81

Please sign in to comment.