Skip to content

Commit

Permalink
LightEditorBinding : Respect canceller in solo column headerData()
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Jul 3, 2023
1 parent 7491a3b commit 149cd3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GafferSceneUIModule/LightEditorBinding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,9 @@ class SetMembershipColumn : public InspectorColumn
{
auto scriptNode = sceneInput->ancestor<ScriptNode>();

Context::Scope contextScope( scriptNode->context() );
Context::EditableScope contextScope( scriptNode->context() );
contextScope.setCanceller( canceller );

ConstPathMatcherDataPtr setMembersData = m_scene->set( m_setName );
result.icon = setMembersData->readable().isEmpty() ? m_setEmpty : m_setHasMembers;
}
Expand Down

0 comments on commit 149cd3f

Please sign in to comment.