diff --git a/Engine/source/gui/editor/popupMenu.cpp b/Engine/source/gui/editor/popupMenu.cpp index 5d2d5c9ee..308fb4e67 100644 --- a/Engine/source/gui/editor/popupMenu.cpp +++ b/Engine/source/gui/editor/popupMenu.cpp @@ -509,7 +509,7 @@ DefineEngineMethod(PopupMenu, getItemCount, S32, (), , "()") return object->getItemCount(); } -DefineConsoleMethod(PopupMenu, clearItems, void, (), , "()") +DefineEngineMethod(PopupMenu, clearItems, void, (), , "()") { return object->clearItems(); } diff --git a/Engine/source/testing/unitTesting.cpp b/Engine/source/testing/unitTesting.cpp index a86a28eb3..5d353f75c 100644 --- a/Engine/source/testing/unitTesting.cpp +++ b/Engine/source/testing/unitTesting.cpp @@ -76,7 +76,7 @@ public: TorqueUnitTestListener( bool verbose ) : mVerbose( verbose ) {} }; -DefineConsoleFunction( runAllUnitTests, int, (const char* testSpecs), (""), +DefineEngineFunction( runAllUnitTests, int, (const char* testSpecs), (""), "Runs engine unit tests. Some tests are marked as 'stress' tests which do not " "necessarily check correctness, just performance or possible nondeterministic " "glitches. There may also be interactive or networking tests which may be "