Prism Show Gem Requirements and Prompt when Adding Gems with Requirements (#1478)

* Added requirements section to gem inspector

* Added Dialog when configuring for gems with extra requirements
This commit is contained in:
AMZN-nggieber
2021-06-22 19:44:33 -07:00
committed by GitHub
parent 570696ad76
commit bc3aa45ed9
25 changed files with 545 additions and 12 deletions
@@ -206,7 +206,11 @@ namespace O3DE::ProjectManager
PythonBindingsInterface::Get()->AddProject(projectInfo.m_path);
#ifdef TEMPLATE_GEM_CONFIGURATION_ENABLED
m_gemCatalogScreen->EnableDisableGemsForProject(projectInfo.m_path);
if (!m_gemCatalogScreen->EnableDisableGemsForProject(projectInfo.m_path))
{
QMessageBox::critical(this, tr("Failed to configure gems"), tr("Failed to configure gems for template."));
return;
}
#endif // TEMPLATE_GEM_CONFIGURATION_ENABLED
projectInfo.m_needsBuild = true;