mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
Use #ifdef instead of comment
This commit is contained in:
parent
38bb48e72c
commit
ab7d82edb6
1 changed files with 3 additions and 2 deletions
|
@ -418,7 +418,8 @@ Menu::Menu() {
|
||||||
|
|
||||||
// Developer > Assets >>>
|
// Developer > Assets >>>
|
||||||
// Menu item is not currently needed but code should be kept in case it proves useful again at some stage.
|
// Menu item is not currently needed but code should be kept in case it proves useful again at some stage.
|
||||||
/*
|
//#define WANT_ASSET_MIGRATION
|
||||||
|
#ifdef WANT_ASSET_MIGRATION
|
||||||
MenuWrapper* assetDeveloperMenu = developerMenu->addMenu("Assets");
|
MenuWrapper* assetDeveloperMenu = developerMenu->addMenu("Assets");
|
||||||
auto& atpMigrator = ATPAssetMigrator::getInstance();
|
auto& atpMigrator = ATPAssetMigrator::getInstance();
|
||||||
atpMigrator.setDialogParent(this);
|
atpMigrator.setDialogParent(this);
|
||||||
|
@ -426,7 +427,7 @@ Menu::Menu() {
|
||||||
addActionToQMenuAndActionHash(assetDeveloperMenu, MenuOption::AssetMigration,
|
addActionToQMenuAndActionHash(assetDeveloperMenu, MenuOption::AssetMigration,
|
||||||
0, &atpMigrator,
|
0, &atpMigrator,
|
||||||
SLOT(loadEntityServerFile()));
|
SLOT(loadEntityServerFile()));
|
||||||
*/
|
#endif
|
||||||
|
|
||||||
// Developer > Avatar >>>
|
// Developer > Avatar >>>
|
||||||
MenuWrapper* avatarDebugMenu = developerMenu->addMenu("Avatar");
|
MenuWrapper* avatarDebugMenu = developerMenu->addMenu("Avatar");
|
||||||
|
|
Loading…
Reference in a new issue