Files
UnrealEngineUWP/Engine/Source/Editor
logan buchy ef17c707c5 Fix ComponentVisualizers not drawing after NotifyPropertyModified called
* Fixes at least Spline and Zone Shape handle dragging causing component visualizer to stop drawing
* Root cause appears to be that property modifications are causing object reinstancing to occur unnecessarily.  This causes the object to be deselected and reselected.  In that operation, the SelectionSet OnPreChange delegate fires which fires ComponentVisManager.ClearActiveComponentVis() and clears out the VisualizersForSelection list.  The manager is responsible for routing mouse delta events to the visualizer, the list is responsible for drawing the visualizer.
* Visualizer would be re-added to the list in UUnrealEdEngine::OnEditorElementSelectionChanged (which is called by SelectionSet::OnChanged delegate)... but in the case of property modification, SelectionSet::OnElementUpdated supresses the OnChange delegate via a FScopedClearNewPendingChange and therefore that callback is never made.

#rb Brooke.Hubert
#jira UE-196051

[CL 28111893 by logan buchy in ue5-main branch]
2023-09-21 18:34:49 -04:00
..
2023-06-22 11:32:48 -04:00