Showing the changes to libraries/script-engine/src/ScriptManager.cpp (1 of 10 files). Show all
Unified · Split
| @@ -847,10 +847,6 @@ void ScriptManager::init() { · 846 unmodified lines | ||
| 847 | 847 | scriptEngine->registerGlobalObject("StackTest", new StackTestScriptingInterface(this)); |
| 848 | 848 | #endif |
| 849 | 849 | |
| 850 | − if (_context == CLIENT_SCRIPT) { | |
| 851 | − scriptEngine->registerGlobalObject("CanvasCommand", &_canvasCommandLibrary); | |
| 852 | − } | |
| 853 | − | |
| 854 | 850 | qCDebug(scriptengine) << "Engine initialized"; |
| 855 | 851 | } |
| 856 | 852 | |