Merge pull request #6988 from aws-lumberyard-dev/Atom/guthadam/atom_tools_startup_disabling_unused_gems
Atom Tools: disabling auto load of unused gems in some atom tools
This commit is contained in:
@@ -38,5 +38,5 @@ namespace AtomToolsFramework
|
||||
QFileInfo GetOpenFileInfo(const AZStd::vector<AZ::Data::AssetType>& assetTypes);
|
||||
QFileInfo GetUniqueFileInfo(const QString& initialPath);
|
||||
QFileInfo GetDuplicationFileInfo(const QString& initialPath);
|
||||
bool LaunchTool(const QString& baseName, const QString& extension, const QStringList& arguments);
|
||||
bool LaunchTool(const QString& baseName, const QStringList& arguments);
|
||||
} // namespace AtomToolsFramework
|
||||
|
||||
@@ -168,13 +168,13 @@ namespace AtomToolsFramework
|
||||
return duplicateFileInfo;
|
||||
}
|
||||
|
||||
bool LaunchTool(const QString& baseName, const QString& extension, const QStringList& arguments)
|
||||
bool LaunchTool(const QString& baseName, const QStringList& arguments)
|
||||
{
|
||||
AZ::IO::FixedMaxPath engineRoot = AZ::Utils::GetEnginePath();
|
||||
AZ_Assert(!engineRoot.empty(), "Cannot query Engine Path");
|
||||
|
||||
AZ::IO::FixedMaxPath launchPath = AZ::IO::FixedMaxPath(AZ::Utils::GetExecutableDirectory())
|
||||
/ (baseName + extension).toUtf8().constData();
|
||||
AZ::IO::FixedMaxPath launchPath =
|
||||
AZ::IO::FixedMaxPath(AZ::Utils::GetExecutableDirectory()) / (baseName + AZ_TRAIT_OS_EXECUTABLE_EXTENSION).toUtf8().constData();
|
||||
|
||||
return QProcess::startDetached(launchPath.c_str(), arguments, engineRoot.c_str());
|
||||
}
|
||||
|
||||
+1
-1
@@ -143,7 +143,7 @@ namespace AZ
|
||||
arguments.append(QString("--project-path=%1").arg(projectPath.c_str()));
|
||||
}
|
||||
|
||||
AtomToolsFramework::LaunchTool("MaterialEditor", AZ_TRAIT_OS_EXECUTABLE_EXTENSION, arguments);
|
||||
AtomToolsFramework::LaunchTool("MaterialEditor", arguments);
|
||||
}
|
||||
|
||||
void EditorMaterialSystemComponent::OpenMaterialInspector(
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"Amazon": {
|
||||
"Gems": {
|
||||
"ImGui.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"Gestures.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"GraphCanvas.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"GraphModel.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"PhysX.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"PhysXDebug.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"Blast.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"NVCloth.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"ScriptCanvas.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"ScriptCanvasPhysics": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"ScriptCanvasTesting.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"LandscapeCanvas.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"HttpRequestor.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"WhiteBox.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"PythonAssetBuilder.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSCore": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSCore.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSClientAuth": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSClientAuth.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSMetrics": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSMetrics.Editor": {
|
||||
"AutoLoad": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"Amazon": {
|
||||
"Gems": {
|
||||
"ImGui.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"Gestures.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"GraphCanvas.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"GraphModel.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"PhysX.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"PhysXDebug.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"Blast.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"NVCloth.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"ScriptCanvas.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"ScriptCanvasPhysics": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"ScriptCanvasTesting.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"LandscapeCanvas.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"HttpRequestor.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"WhiteBox.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"PythonAssetBuilder.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSCore": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSCore.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSClientAuth": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSClientAuth.Editor": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSMetrics": {
|
||||
"AutoLoad": false
|
||||
},
|
||||
"AWSMetrics.Editor": {
|
||||
"AutoLoad": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user