Add UseAssetImportPathRelative to Editor options and use it by default to store imported asset path relative to the project folder

This commit is contained in:
Wojtek Figat
2023-01-01 18:55:09 +01:00
parent 9554636971
commit 084fe6f063
8 changed files with 38 additions and 3 deletions

View File

@@ -794,6 +794,9 @@ public:
static void SetOptions(ManagedEditor::InternalOptions* options)
{
ManagedEditor::ManagedEditorOptions = *options;
// Apply options
AssetsImportingManager::UseImportPathRelative = ManagedEditor::ManagedEditorOptions.UseAssetImportPathRelative != 0;
}
static void DrawNavMesh()