浏览代码

set default (true) case for findModules

AzaezelX 2 年之前
父节点
当前提交
ac1cbe8198
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/module/moduleManager_ScriptBinding.h

+ 1 - 1
Engine/source/module/moduleManager_ScriptBinding.h

@@ -151,7 +151,7 @@ DefineEngineMethod(ModuleManager, findModuleByFilePath, String, (const char* fil
 
 //-----------------------------------------------------------------------------
 
-DefineEngineMethod(ModuleManager, findModules, String, (bool loadedOnly), (false),
+DefineEngineMethod(ModuleManager, findModules, String, (bool loadedOnly), (true),
    "Find all the modules registered with the specified loaded state.\n"
    "@param loadedOnly Whether to return only modules that are loaded or not.\n"
    "@return A list of space - separated module definition object Ids.\n")