Showing the changes to interface/src/scripting/PerformanceScriptingInterface.cpp (1 of 34 files). Show all
Unified · Split
| @@ -14,7 +14,7 @@ · 13 unmodified lines | |||
| 14 | 14 | ||
| 15 | #include "../Application.h" | 15 | #include "../Application.h" |
| 16 | 16 | ||
| 17 | STATIC_SCRIPT_INITIALIZER(+[](ScriptManager* manager){ | 17 | STATIC_SCRIPT_TYPES_INITIALIZER(+[](ScriptManager* manager){ |
| 18 | auto scriptEngine = manager->engine().get(); | 18 | auto scriptEngine = manager->engine().get(); |
| 19 | 19 | ||
| 20 | scriptRegisterMetaType(scriptEngine, scriptValueFromEnumClass<PerformanceScriptingInterface::PerformancePreset>, scriptValueToEnumClass<PerformanceScriptingInterface::PerformancePreset>, "PerformancePreset"); | 20 | scriptRegisterMetaType(scriptEngine, scriptValueFromEnumClass<PerformanceScriptingInterface::PerformancePreset>, scriptValueToEnumClass<PerformanceScriptingInterface::PerformancePreset>, "PerformancePreset"); |