You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix to drag and drop of widgets not working in the Designer view
#rb dave.belanger #jira UE-78868 [CL 8038957 by Vincent Gauthier in Dev-Editor branch]
This commit is contained in:
@@ -1027,6 +1027,10 @@ void FWidgetBlueprintEditor::UpdatePreview(UBlueprint* InBlueprint, bool bInForc
|
||||
// Update the widget tree directly to match the blueprint tree. That way the preview can update
|
||||
// without needing to do a full recompile.
|
||||
PreviewUserWidget->DuplicateAndInitializeFromWidgetTree(LatestWidgetTree);
|
||||
|
||||
// Establish the widget as being in design time before initializing (so that IsDesignTime is reliable within Initialize)
|
||||
// We have to call it to make sure that all the WidgetTree had the DesignerFlags set correctly
|
||||
PreviewUserWidget->SetDesignerFlags(GetCurrentDesignerFlags());
|
||||
}
|
||||
|
||||
// Store a reference to the preview actor.
|
||||
|
||||
Reference in New Issue
Block a user