Commit 302e9b9d authored by Aron Helser's avatar Aron Helser Committed by Kitware Robot
Browse files

Merge topic 'visibility_selection_fix_rel' into release

7d74734e

 Fix: properly hide selected blocks when viz changes
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1858
parents 9b9894ea 7d74734e
......@@ -490,6 +490,9 @@ bool vtkSMTKResourceRepresentation::SetEntityVisibility(
// Mark the mappers as modified or the new visibility info will not be updated:
this->EntityMapper->Modified();
this->GlyphMapper->Modified();
// mark the selection modified, so UpdateDisplayAttributesFromSelection will fix
// the selection visibility
this->SelectionModified();
}
}
return didChange;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment