diff --git a/Code/Sandbox/Editor/CryEdit.cpp b/Code/Sandbox/Editor/CryEdit.cpp index c6a2ece984..b3eaaddc42 100644 --- a/Code/Sandbox/Editor/CryEdit.cpp +++ b/Code/Sandbox/Editor/CryEdit.cpp @@ -149,7 +149,6 @@ AZ_POP_DISABLE_WARNING #include "LevelFileDialog.h" #include "LevelIndependentFileMan.h" #include "WelcomeScreen/WelcomeScreenDialog.h" -#include "Dialogs/DuplicatedObjectsHandlerDlg.h" #include "Controls/ReflectedPropertyControl/PropertyCtrl.h" #include "Controls/ReflectedPropertyControl/ReflectedVar.h" @@ -400,9 +399,7 @@ void CCryEditApp::RegisterActionHandlers() ON_COMMAND(ID_OBJECTMODIFY_UNFREEZE, OnObjectmodifyUnfreeze) ON_COMMAND(ID_UNDO, OnUndo) ON_COMMAND(ID_TOOLBAR_WIDGET_REDO, OnUndo) // Can't use the same ID, because for the menu we can't have a QWidgetAction, while for the toolbar we want one - ON_COMMAND(ID_SELECTION_SAVE, OnSelectionSave) ON_COMMAND(ID_IMPORT_ASSET, OnOpenAssetImporter) - ON_COMMAND(ID_SELECTION_LOAD, OnSelectionLoad) ON_COMMAND(ID_LOCK_SELECTION, OnLockSelection) ON_COMMAND(ID_EDIT_LEVELDATA, OnEditLevelData) ON_COMMAND(ID_FILE_EDITLOGFILE, OnFileEditLogFile) @@ -3019,149 +3016,12 @@ void CCryEditApp::OnFileExportOcclusionMesh() pExportManager->Export(levelName.toUtf8().data(), "ocm", levelPath.toUtf8().data(), false, false, true); } -void CCryEditApp::OnSelectionSave() -{ - char szFilters[] = "Object Group Files (*.grp)"; - QtUtil::QtMFCScopedHWNDCapture cap; - CAutoDirectoryRestoreFileDialog dlg(QFileDialog::AcceptSave, QFileDialog::AnyFile, "grp", {}, szFilters, {}, {}, cap); - - if (dlg.exec()) - { - QWaitCursor wait; - CSelectionGroup* sel = GetIEditor()->GetSelection(); - //CXmlArchive xmlAr( "Objects" ); - - - XmlNodeRef root = XmlHelpers::CreateXmlNode("Objects"); - CObjectArchive ar(GetIEditor()->GetObjectManager(), root, false); - // Save all objects to XML. - for (int i = 0; i < sel->GetCount(); i++) - { - ar.SaveObject(sel->GetObject(i)); - } - QString fileName = dlg.selectedFiles().first(); - XmlHelpers::SaveXmlNode(GetIEditor()->GetFileUtil(), root, fileName.toStdString().c_str()); - //xmlAr.Save( dlg.GetPathName() ); - } -} - ////////////////////////////////////////////////////////////////////////// -struct SDuplicatedObject -{ - SDuplicatedObject(const QString& name, const GUID& id) - { - m_name = name; - m_id = id; - } - QString m_name; - GUID m_id; -}; - -void GatherAllObjects(XmlNodeRef node, std::vector& outDuplicatedObjects) -{ - if (!azstricmp(node->getTag(), "Object")) - { - GUID guid; - if (node->getAttr("Id", guid)) - { - if (GetIEditor()->GetObjectManager()->FindObject(guid)) - { - QString name; - node->getAttr("Name", name); - outDuplicatedObjects.push_back(SDuplicatedObject(name, guid)); - } - } - } - - for (int i = 0, nChildCount(node->getChildCount()); i < nChildCount; ++i) - { - XmlNodeRef childNode = node->getChild(i); - if (childNode == NULL) - { - continue; - } - GatherAllObjects(childNode, outDuplicatedObjects); - } -} - void CCryEditApp::OnOpenAssetImporter() { QtViewPaneManager::instance()->OpenPane(LyViewPane::SceneSettings); } -void CCryEditApp::OnSelectionLoad() -{ - // Load objects from .grp file. - QtUtil::QtMFCScopedHWNDCapture cap; - CAutoDirectoryRestoreFileDialog dlg(QFileDialog::AcceptOpen, QFileDialog::ExistingFile, "grp", {}, "Object Group Files (*.grp)", {}, {}, cap); - if (dlg.exec() != QDialog::Accepted) - { - return; - } - - QWaitCursor wait; - - XmlNodeRef root = XmlHelpers::LoadXmlFromFile(dlg.selectedFiles().first().toStdString().c_str()); - if (!root) - { - QMessageBox::critical(AzToolsFramework::GetActiveWindow(), QString(), QObject::tr("Error at loading group file.")); - return; - } - - std::vector duplicatedObjects; - GatherAllObjects(root, duplicatedObjects); - - CDuplicatedObjectsHandlerDlg::EResult result(CDuplicatedObjectsHandlerDlg::eResult_None); - int nDuplicatedObjectSize(duplicatedObjects.size()); - - if (!duplicatedObjects.empty()) - { - QString msg = QObject::tr("The following object(s) already exist(s) in the level.\r\n\r\n"); - - for (int i = 0; i < nDuplicatedObjectSize; ++i) - { - msg += QStringLiteral("\t"); - msg += duplicatedObjects[i].m_name; - if (i < nDuplicatedObjectSize - 1) - { - msg += QStringLiteral("\r\n"); - } - } - - CDuplicatedObjectsHandlerDlg confirmDlg(msg); - if (confirmDlg.exec() == QDialog::Rejected) - { - return; - } - result = confirmDlg.GetResult(); - } - - CUndo undo("Load Objects"); - GetIEditor()->ClearSelection(); - - CObjectArchive ar(GetIEditor()->GetObjectManager(), root, true); - - if (result == CDuplicatedObjectsHandlerDlg::eResult_Override) - { - for (int i = 0; i < nDuplicatedObjectSize; ++i) - { - CBaseObject* pObj = GetIEditor()->GetObjectManager()->FindObject(duplicatedObjects[i].m_id); - if (pObj) - { - GetIEditor()->GetObjectManager()->DeleteObject(pObj); - } - } - } - else if (result == CDuplicatedObjectsHandlerDlg::eResult_CreateCopies) - { - ar.MakeNewIds(true); - } - - GetIEditor()->GetObjectManager()->LoadObjects(ar, true); - GetIEditor()->SetModifiedFlag(); - GetIEditor()->SetModifiedModule(eModifiedBrushes); -} - ////////////////////////////////////////////////////////////////////////// void CCryEditApp::OnUpdateSelected(QAction* action) { diff --git a/Code/Sandbox/Editor/CryEdit.h b/Code/Sandbox/Editor/CryEdit.h index dc18dbcfda..7b96ab3827 100644 --- a/Code/Sandbox/Editor/CryEdit.h +++ b/Code/Sandbox/Editor/CryEdit.h @@ -232,9 +232,7 @@ public: void OnObjectmodifyFreeze(); void OnObjectmodifyUnfreeze(); void OnUndo(); - void OnSelectionSave(); void OnOpenAssetImporter(); - void OnSelectionLoad(); void OnUpdateSelected(QAction* action); void OnLockSelection(); void OnEditLevelData(); diff --git a/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.cpp b/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.cpp deleted file mode 100644 index 5a3a1e3036..0000000000 --- a/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/* -* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or -* its licensors. -* -* For complete copyright and license terms please see the LICENSE at the root of this -* distribution (the "License"). All use of this software is governed by the License, -* or, if provided, by the license below or the license accompanying this file. Do not -* remove or modify any license notices. This file is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* -*/ -// Original file Copyright Crytek GMBH or its affiliates, used under license. - -#include "EditorDefs.h" - -#include "DuplicatedObjectsHandlerDlg.h" - -AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING -#include -AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING - - -CDuplicatedObjectsHandlerDlg::CDuplicatedObjectsHandlerDlg(const QString& msg, QWidget* pParent) - : QDialog(pParent) - , m_ui(new Ui::DuplicatedObjectsHandlerDlg) -{ - m_ui->setupUi(this); - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); - m_ui->textBrowser->setPlainText(msg); - - connect(m_ui->buttonOverride, &QPushButton::clicked, this, &CDuplicatedObjectsHandlerDlg::OnBnClickedOverrideBtn); - connect(m_ui->buttonCreateCopies, &QPushButton::clicked, this, &CDuplicatedObjectsHandlerDlg::OnBnClickedCreateCopiesBtn); -} - -CDuplicatedObjectsHandlerDlg::~CDuplicatedObjectsHandlerDlg() -{ -} - -void CDuplicatedObjectsHandlerDlg::OnBnClickedOverrideBtn() -{ - m_result = eResult_Override; - accept(); -} - -void CDuplicatedObjectsHandlerDlg::OnBnClickedCreateCopiesBtn() -{ - m_result = eResult_CreateCopies; - accept(); -} - -#include diff --git a/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.h b/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.h deleted file mode 100644 index 1610fd216f..0000000000 --- a/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or -* its licensors. -* -* For complete copyright and license terms please see the LICENSE at the root of this -* distribution (the "License"). All use of this software is governed by the License, -* or, if provided, by the license below or the license accompanying this file. Do not -* remove or modify any license notices. This file is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* -*/ -// Original file Copyright Crytek GMBH or its affiliates, used under license. - -#ifndef CRYINCLUDE_EDITOR_DIALOGS_DUPLICATEDOBJECTSHANDLERDLG_H -#define CRYINCLUDE_EDITOR_DIALOGS_DUPLICATEDOBJECTSHANDLERDLG_H -#pragma once - -#if !defined(Q_MOC_RUN) -#include -#endif - -namespace Ui -{ - class DuplicatedObjectsHandlerDlg; -} - -class CDuplicatedObjectsHandlerDlg - : public QDialog -{ - Q_OBJECT -public: - CDuplicatedObjectsHandlerDlg(const QString& msg, QWidget* pParent = nullptr); - virtual ~CDuplicatedObjectsHandlerDlg(); - - enum EResult - { - eResult_None, - eResult_Override, - eResult_CreateCopies - }; - - EResult GetResult() const - { - return m_result; - } - -protected: - - EResult m_result; - - void OnBnClickedOverrideBtn(); - void OnBnClickedCreateCopiesBtn(); - - QScopedPointer m_ui; -}; - -#endif // CRYINCLUDE_EDITOR_DIALOGS_DUPLICATEDOBJECTSHANDLERDLG_H diff --git a/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.ui b/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.ui deleted file mode 100644 index 44578d6862..0000000000 --- a/Code/Sandbox/Editor/Dialogs/DuplicatedObjectsHandlerDlg.ui +++ /dev/null @@ -1,83 +0,0 @@ - - - DuplicatedObjectsHandlerDlg - - - - 0 - 0 - 474 - 204 - - - - Duplicated Objects Dialog - - - - - - true - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Cancel - - - - - - - Override - - - - - - - Create Copies - - - - - - - - - - - pushButton - clicked() - DuplicatedObjectsHandlerDlg - reject() - - - 258 - 183 - - - 190 - 184 - - - - - diff --git a/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.cpp b/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.cpp deleted file mode 100644 index 9384cd5051..0000000000 --- a/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.cpp +++ /dev/null @@ -1,218 +0,0 @@ -/* -* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or -* its licensors. -* -* For complete copyright and license terms please see the LICENSE at the root of this -* distribution (the "License"). All use of this software is governed by the License, -* or, if provided, by the license below or the license accompanying this file. Do not -* remove or modify any license notices. This file is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* -*/ -#include "EditorDefs.h" - -#include "NewEntityDialog.h" - -// Qt -#include -#include -#include - -// Editor -#include "Dialogs/QT/ui_NewEntityDialog.h" - - -NewEntityDialog::NewEntityDialog(QWidget* parent) - : QDialog(parent) - , ui(new Ui::NewEntityDialog) -{ - entityNameValidator = new EntityNameValidator(this); - - ui->setupUi(this); - - ui->entityName->setFocus(); - ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); - connect(ui->entityName, SIGNAL(textChanged(QString)), this, SLOT(ValidateInput())); - connect(ui->categoryName, SIGNAL(textChanged(QString)), this, SLOT(ValidateInput())); - - SetCategoryCompleterPath((Path::GetEditingGameDataFolder() + "/Scripts/Entities").c_str()); - SetNameValidatorPath((Path::GetEditingGameDataFolder() + "/Entities").c_str()); -} - -NewEntityDialog::~NewEntityDialog() -{ - SAFE_DELETE(entityNameValidator); - SAFE_DELETE(folderNameCompleter); - delete ui; -} - -void NewEntityDialog::SetCategoryCompleterPath(CryStringT path) -{ - SAFE_DELETE(folderNameCompleter); - - QDirIterator directoryIt(QString::fromLocal8Bit(path.c_str(), path.length()), QDir::NoDotAndDotDot | QDir::AllDirs, QDirIterator::Subdirectories); - baseDir = directoryIt.path() + "/"; - - QStringList dirs; - while (directoryIt.hasNext()) - { - QString dir = directoryIt.next().remove(baseDir); - dirs.append(dir); - } - - folderNameCompleter = new QCompleter(dirs); - folderNameCompleter->setCompletionMode(QCompleter::UnfilteredPopupCompletion); - folderNameCompleter->setCaseSensitivity(Qt::CaseInsensitive); - ui->categoryName->setCompleter(folderNameCompleter); -} - -void NewEntityDialog::SetNameValidatorPath(CryStringT path) -{ - QDir dir(QString::fromLocal8Bit(path.c_str(), path.length())); - nameBaseDir = dir.path() + "/"; -} - -void NewEntityDialog::ValidateInput() -{ - int cursorPos = ui->entityName->cursorPosition(); - QString text = ui->entityName->text(); - bool validText = entityNameValidator->validate(text, cursorPos); - ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(validText); -} - -void NewEntityDialog::accept() -{ - if (ui->categoryName->text().isEmpty() - && QMessageBox::question(this, "Are you sure?", "Create entity without category?", QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) - { - return; - } - const char* devRoot = gEnv->pFileIO->GetAlias("@engroot@"); - QString devRootPath(devRoot); - QFile entTemplateFile(devRootPath + "/Editor/NewEntityTemplate.ent_template"); - QFile luaTemplateFile(devRootPath + "/Editor/NewEntityTemplate.lua_template"); - QFile entDestFile(nameBaseDir + ui->entityName->text() + ".ent"); - QFile luaDestFile(baseDir + ui->categoryName->text() + "/" + ui->entityName->text() + ".lua"); - - if (!entTemplateFile.exists() || !luaTemplateFile.exists()) - { - QMessageBox::critical(this, tr("Missing Template Files"), tr("In order to create default entities the NewEntityTemplate.lua and NewEntityTemplate.ent template files must exist in the Templates folder!")); - return; - } - - //generate the .ent file - QDir pathMaker(nameBaseDir); - pathMaker.mkpath(pathMaker.path()); - QString entFileString; - if (!entTemplateFile.open(QIODevice::ReadOnly | QIODevice::Text)) - { - AZ_Warning("Editor", false, "Enable to open template file for ent : %s", entTemplateFile.fileName().toUtf8().constData()); - return; - } - else - { - entFileString = entTemplateFile.readAll(); - entTemplateFile.close(); - } - - entFileString.replace(QString("[CATEGORY_NAME]"), ui->categoryName->text()); - entFileString.replace(QString("[ENTITY_NAME]"), ui->entityName->text()); - if (!entDestFile.open(QIODevice::WriteOnly | QIODevice::Text)) - { - AZ_Warning("Editor", false, "Enable to open destination file for ent : %s", entDestFile.fileName().toUtf8().constData()); - return; - } - else - { - entDestFile.write(entFileString.toUtf8()); - entDestFile.close(); - } - - //generate the .lua file - pathMaker.setPath(baseDir); - pathMaker.mkpath(ui->categoryName->text() + "/"); - - QString luaFileString; - if (!luaTemplateFile.open(QIODevice::ReadOnly | QIODevice::Text)) - { - AZ_Warning("Editor", false, "Enable to open template file for lua : %s", luaTemplateFile.fileName().toUtf8().constData()); - return; - } - else - { - luaFileString = luaTemplateFile.readAll(); - luaTemplateFile.close(); - } - - luaFileString.replace(QString("[ENTITY_NAME]"), ui->entityName->text()); - if (!luaDestFile.open(QIODevice::WriteOnly | QIODevice::Text)) - { - AZ_Warning("Editor", false, "Enable to open destination file for lua : %s", luaDestFile.fileName().toUtf8().constData()); - return; - } - else - { - luaDestFile.write(luaFileString.toUtf8()); - luaDestFile.close(); - } - - - if (ui->openLuaCB->isChecked()) - { - CFileUtil::EditTextFile(luaDestFile.fileName().toLocal8Bit().data()); - } - - QDialog::accept(); -} - -QValidator::State NewEntityDialog::EntityNameValidator::validate(QString& input, [[maybe_unused]] int& pos) const -{ - if (!m_Parent) - { - return Invalid; - } - - if (input.isEmpty()) - { - return Invalid; - } - - if (input.contains("/")) - { - return Invalid; - } - - QString fileBaseName = m_Parent->ui->entityName->text(); - - // Characters - const char* notAllowedChars = ",^@=+{}[]~!?:&*\"|#%<>$\"'();`' "; - for (const char* c = notAllowedChars; *c; c++) - { - if (fileBaseName.contains(QLatin1Char(*c))) - { - const QChar qc = QLatin1Char(*c); - if (qc.isSpace()) - { - QToolTip::showText(m_Parent->ui->entityName->mapToGlobal(QPoint()), tr("Name may not contain white space."), m_Parent->ui->entityName, m_Parent->ui->entityName->rect(), 2000); - } - else - { - QToolTip::showText(m_Parent->ui->entityName->mapToGlobal(QPoint()), tr("Invalid character \"%1\".").arg(qc), m_Parent->ui->entityName, m_Parent->ui->entityName->rect(), 2000); - } - return Invalid; - } - } - - QString filename(m_Parent->nameBaseDir + m_Parent->ui->entityName->text() + ".ent"); - QFile newFile(filename); - - if (newFile.exists()) - { - QToolTip::showText(m_Parent->ui->entityName->mapToGlobal(QPoint()), tr("Filename already exists!"), m_Parent->ui->entityName, m_Parent->ui->entityName->rect(), 2000); - return Invalid; - } - - return Acceptable; -} - -#include diff --git a/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.h b/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.h deleted file mode 100644 index 9ed2bdb2bb..0000000000 --- a/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.h +++ /dev/null @@ -1,69 +0,0 @@ -/* -* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or -* its licensors. -* -* For complete copyright and license terms please see the LICENSE at the root of this -* distribution (the "License"). All use of this software is governed by the License, -* or, if provided, by the license below or the license accompanying this file. Do not -* remove or modify any license notices. This file is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* -*/ -#ifndef NEWENTITYDIALOG_H -#define NEWENTITYDIALOG_H - -#if !defined(Q_MOC_RUN) -#include -#include -#include -#include -#include -#include -#include -#endif - -namespace Ui { - class NewEntityDialog; -} - -class NewEntityDialog - : public QDialog -{ - Q_OBJECT - -public: - explicit NewEntityDialog(QWidget* parent = 0); - ~NewEntityDialog(); - -private: - Ui::NewEntityDialog* ui; - QString baseDir = ""; - QString nameBaseDir = ""; - QCompleter* folderNameCompleter = NULL; - - void SetCategoryCompleterPath(CryStringT path); - void SetNameValidatorPath(CryStringT path); - - virtual void accept(); - - class EntityNameValidator - : public QValidator - { - public: - explicit EntityNameValidator(NewEntityDialog* parent = 0) - : QValidator(parent) - , m_Parent(parent) - { - } - virtual State validate(QString& input, int& pos) const; - - NewEntityDialog* m_Parent; - }; - - EntityNameValidator* entityNameValidator; - -public slots: - void ValidateInput(); -}; - -#endif // NEWENTITYDIALOG_H diff --git a/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.ui b/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.ui deleted file mode 100644 index 530bf9ac99..0000000000 --- a/Code/Sandbox/Editor/Dialogs/QT/NewEntityDialog.ui +++ /dev/null @@ -1,161 +0,0 @@ - - - NewEntityDialog - - - Qt::WindowModal - - - - 0 - 0 - 400 - 111 - - - - Qt::PreventContextMenu - - - New Entity - - - false - - - false - - - - - 30 - 70 - 341 - 32 - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - 110 - 10 - 281 - 20 - - - - - - - 10 - 10 - 71 - 16 - - - - - 75 - true - - - - Entity Name: - - - entityName - - - - - - 10 - 40 - 91 - 16 - - - - - 75 - true - - - - Entity Category: - - - categoryName - - - - - - 110 - 40 - 281 - 20 - - - - - - - 10 - 80 - 141 - 17 - - - - Open Lua After Creating - - - - - entityName - categoryName - - - - - buttonBox - accepted() - NewEntityDialog - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - NewEntityDialog - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff --git a/Code/Sandbox/Editor/Resource.h b/Code/Sandbox/Editor/Resource.h index 143b4fc0c4..15d04bd5c0 100644 --- a/Code/Sandbox/Editor/Resource.h +++ b/Code/Sandbox/Editor/Resource.h @@ -149,8 +149,6 @@ #define ID_OBJECTMODIFY_UNFREEZE 33518 #define ID_UNDO 33524 #define ID_EDIT_CLONE 33525 -#define ID_SELECTION_SAVE 33527 -#define ID_SELECTION_LOAD 33529 #define ID_GOTO_SELECTED 33535 #define ID_EDIT_LEVELDATA 33542 #define ID_FILE_EDITEDITORINI 33543 diff --git a/Code/Sandbox/Editor/editor_lib_files.cmake b/Code/Sandbox/Editor/editor_lib_files.cmake index ffbc37170d..80ec582d19 100644 --- a/Code/Sandbox/Editor/editor_lib_files.cmake +++ b/Code/Sandbox/Editor/editor_lib_files.cmake @@ -511,9 +511,6 @@ set(FILES DimensionsDialog.cpp DimensionsDialog.h DimensionsDialog.ui - Dialogs/QT/NewEntityDialog.cpp - Dialogs/QT/NewEntityDialog.h - Dialogs/QT/NewEntityDialog.ui NewLevelDialog.cpp NewLevelDialog.h NewLevelDialog.ui @@ -551,7 +548,6 @@ set(FILES DatabaseFrameWnd.h DatabaseFrameWnd.ui DatabaseFrameWnd.qrc - Dialogs/DuplicatedObjectsHandlerDlg.h DocMultiArchive.h EditMode/DeepSelection.h FBXExporterDialog.h @@ -711,8 +707,6 @@ set(FILES graphicssettingsdialog.ui AboutDialog.cpp DatabaseFrameWnd.cpp - Dialogs/DuplicatedObjectsHandlerDlg.cpp - Dialogs/DuplicatedObjectsHandlerDlg.ui ErrorReportTableModel.h ErrorReportTableModel.cpp EditMode/DeepSelection.cpp