From c35465b274aa100942c99e044b00bc989a8f5fb3 Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Wed, 8 Dec 2021 16:53:44 +0100 Subject: [PATCH] Fix minor issues --- Source/Editor/Modules/WindowsModule.cs | 1 - Source/Editor/Windows/SceneTreeWindow.cs | 8 -------- Source/Engine/Engine/Time.h | 4 ++-- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Source/Editor/Modules/WindowsModule.cs b/Source/Editor/Modules/WindowsModule.cs index 5ecd798c2..53567221e 100644 --- a/Source/Editor/Modules/WindowsModule.cs +++ b/Source/Editor/Modules/WindowsModule.cs @@ -737,7 +737,6 @@ namespace FlaxEditor.Modules _windowsLayoutPath = StringUtils.CombinePaths(Globals.ProjectCacheFolder, "WindowsLayout.xml"); // Create main window - var dpiScale = Platform.DpiScale; var settings = CreateWindowSettings.Default; settings.Title = "Flax Editor"; settings.Size = Platform.DesktopSize; diff --git a/Source/Editor/Windows/SceneTreeWindow.cs b/Source/Editor/Windows/SceneTreeWindow.cs index d67f96c5b..601f03d53 100644 --- a/Source/Editor/Windows/SceneTreeWindow.cs +++ b/Source/Editor/Windows/SceneTreeWindow.cs @@ -327,14 +327,6 @@ namespace FlaxEditor.Windows _isUpdatingSelection = false; } - private static bool ValidateDragActor(ActorNode actorNode) - { - // Reject dragging actors not linked to scene (eg. from prefab) - if (actorNode.ParentScene == null) - return false; - return true; - } - private bool ValidateDragAsset(AssetItem assetItem) { return assetItem.OnEditorDrag(this); diff --git a/Source/Engine/Engine/Time.h b/Source/Engine/Engine/Time.h index ec3f8d950..be4b68c22 100644 --- a/Source/Engine/Engine/Time.h +++ b/Source/Engine/Engine/Time.h @@ -221,8 +221,8 @@ public: /// /// Sets the fixed FPS for game logic updates (draw and update). /// - /// >True if enable this feature, otherwise false. - /// >The fixed draw/update rate for the time. + /// True if enable this feature, otherwise false. + /// The fixed draw/update rate for the time. API_FUNCTION() static void SetFixedDeltaTime(bool enable, float value); private: