mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Forgot one change
This commit is contained in:
parent
cc2bc1ef78
commit
e1365a2927
1 changed files with 1 additions and 1 deletions
|
@ -3628,7 +3628,7 @@ ScriptEngine* Application::loadScript(const QString& scriptName, bool loadScript
|
|||
scriptEngine->getModelsScriptingInterface()->setModelTree(_models.getTree());
|
||||
|
||||
// model has some custom types
|
||||
Model::registerMetaTypes(scriptEngine->getEngine());
|
||||
Model::registerMetaTypes(scriptEngine);
|
||||
|
||||
// hook our avatar object into this script engine
|
||||
scriptEngine->setAvatarData(_myAvatar, "MyAvatar"); // leave it as a MyAvatar class to expose thrust features
|
||||
|
|
Loading…
Reference in a new issue