-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
846635a
commit 56d0688
Showing
16 changed files
with
247 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[/Script/RedTechArtToolsEditor.RedDeveloperSettings] | ||
+EditorIconWidgetSearchPaths=Content/Slate/Starship/Common | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/Common | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/SceneOutliner | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/GraphEditors | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/MainToolbar | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Icons/Paint | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Icons/Landscape | ||
+EditorIconWidgetSearchPaths=Plugins/Editor/ModelingToolsEditorMode/Content/Icons | ||
+EditorIconWidgetSearchPaths=Plugins/Experimental/ChaosEditor/Content | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/GenericCurveEditor/Icons | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Icons/GeneralTools | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/TimelineEditor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[/Script/RedTechArtToolsEditor.RedDeveloperSettings] | ||
+EditorIconWidgetSearchPaths=Content/Slate/Starship/Common | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/Common | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/SceneOutliner | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/GraphEditors | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/MainToolbar | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Icons/Paint | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Icons/Landscape | ||
+EditorIconWidgetSearchPaths=Plugins/Editor/ModelingToolsEditorMode/Content/Icons | ||
+EditorIconWidgetSearchPaths=Plugins/Experimental/ChaosEditor/Content | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/GenericCurveEditor/Icons | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Icons/GeneralTools | ||
+EditorIconWidgetSearchPaths=Content/Editor/Slate/Starship/TimelineEditor |
Binary file not shown.
Binary file added
BIN
+214 KB
Content/EditorWidgets/ContentOrganizer/EUW_ContentOrganizer_ListItem.uasset
Binary file not shown.
Binary file modified
BIN
+15.4 KB
(100%)
Content/EditorWidgets/MaterialParametersHelper/EUW_MaterialParametersHelper.uasset
Binary file not shown.
Binary file modified
BIN
+22.6 KB
(100%)
...orWidgets/MaterialParametersHelper/EUW_MaterialParametersHelper_ExpressionListItem.uasset
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2022 Ryan DowlingSoka - MIT License - See LICENSE file for more. | ||
# WIP : Not ready for use. | ||
|
||
import shutil | ||
import unreal | ||
|
||
class ContentOrganizerUtilities(object): | ||
|
||
@staticmethod | ||
def convert_content_path_to_disk_path(content_path:str) -> str: | ||
success, path = unreal.RedTechArtToolsBlueprintLibrary.convert_package_path_to_local_path(content_path) | ||
if success: | ||
return path | ||
else: | ||
return "" | ||
|
||
@staticmethod | ||
def move_directories_outside_unreal(source_path: str, target_path: str) -> bool: | ||
local_source_path = ContentOrganizerUtilities.convert_content_path_to_disk_path(source_path) | ||
local_target_path = ContentOrganizerUtilities.convert_content_path_to_disk_path(target_path) | ||
|
||
if local_source_path and local_target_path: | ||
shutil.copytree(local_source_path, local_target_path, dirs_exist_ok=True) | ||
|
||
|
||
@staticmethod | ||
def write_redirects_to_ini(redirects:str) -> bool: | ||
default_engine_ini = f"{unreal.Paths.project_config_dir()}/DefaultEngine.ini" | ||
return True |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Source/RedTechArtToolsEditor/Private/RedDeveloperSettings.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// MIT License | ||
// | ||
// Copyright (c) 2022 Ryan DowlingSoka | ||
// | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in all | ||
// copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
// SOFTWARE. | ||
|
||
#include "RedDeveloperSettings.h" | ||
|
||
URedDeveloperSettings::URedDeveloperSettings() | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
Source/RedTechArtToolsEditor/Public/RedDeveloperSettings.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// MIT License | ||
// | ||
// Copyright (c) 2022 Ryan DowlingSoka | ||
// | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in all | ||
// copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
// SOFTWARE. | ||
|
||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "DeveloperSettingsClasses.h" | ||
#include "RedDeveloperSettings.generated.h" | ||
|
||
/** | ||
* Developer settings for the RED Tech Art Tools Plugin. | ||
*/ | ||
UCLASS(Config=RedTechArtTools, DefaultConfig, meta=(DisplayName="RED Tech Art Tools")) | ||
class REDTECHARTTOOLSEDITOR_API URedDeveloperSettings : public UDeveloperSettings | ||
{ | ||
GENERATED_BODY() | ||
public: | ||
UPROPERTY(Config, EditAnywhere, BlueprintReadOnly, Category = "Editor Icon Widget") | ||
TArray<FString> EditorIconWidgetSearchPaths; | ||
|
||
virtual FName GetCategoryName() const override {return FName("Plugins");} | ||
|
||
URedDeveloperSettings(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters