You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
When the level is locked, CanSelectElement evaluates to true, causing Unreal Engine to crash in the following two scenarios: 1. After locking the level, the user clicks on an ISM 2. After locking the level, the user drags the remaining gizmo on an ISM The cause: 1. FSMInstanceElementLevelEditorSelectionCustomization::CanSelectElement evaluates to true because GEdSelectionLock seems always be false 2. DeselectAllActors in SetLocked does not recursively deselect the ISM components The fix: 1. Determine whether the owner level is lockedin FSMInstanceElementLevelEditorSelectionCustomization::CanSelectElement 2. Use the typed element selection APIs to clear the current level's selection #jira UE-181821 #rb [CL 26000790 by han chu in ue5-main branch]
69 lines
1.7 KiB
C#
69 lines
1.7 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class WorldBrowser : ModuleRules
|
|
{
|
|
public WorldBrowser(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[] {
|
|
"AssetRegistry",
|
|
"AssetTools",
|
|
"MeshUtilities",
|
|
"MeshMergeUtilities",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"ApplicationCore",
|
|
"AppFramework",
|
|
"Core",
|
|
"CoreUObject",
|
|
"RenderCore",
|
|
"InputCore",
|
|
"Engine",
|
|
"Landscape",
|
|
"Slate",
|
|
"SlateCore",
|
|
"EditorWidgets",
|
|
"ToolWidgets",
|
|
"EditorFramework",
|
|
"UnrealEd",
|
|
"GraphEditor",
|
|
"LevelEditor",
|
|
"PropertyEditor",
|
|
"DesktopPlatform",
|
|
"MainFrame",
|
|
"SourceControl",
|
|
"SourceControlWindows",
|
|
"MeshDescription",
|
|
"StaticMeshDescription",
|
|
"NewLevelDialog",
|
|
"LandscapeEditor",
|
|
"FoliageEdit",
|
|
"ImageWrapper",
|
|
"Foliage",
|
|
"MaterialUtilities",
|
|
"RHI",
|
|
"Json",
|
|
"ToolMenus",
|
|
"TypedElementRuntime",
|
|
"TypedElementFramework",
|
|
}
|
|
);
|
|
|
|
DynamicallyLoadedModuleNames.AddRange(
|
|
new string[] {
|
|
"AssetRegistry",
|
|
"AssetTools",
|
|
"SceneOutliner",
|
|
"MeshUtilities",
|
|
"ContentBrowser",
|
|
"MeshMergeUtilities",
|
|
}
|
|
);
|
|
}
|
|
}
|