mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 19:34:02 +02:00
Remove class scope on _entityScriptingInterface property references
This commit is contained in:
parent
75a943386b
commit
38a361dcf0
1 changed files with 3 additions and 3 deletions
|
@ -74,10 +74,10 @@ void inputControllerFromScriptValue(const QScriptValue &object, AbstractInputCon
|
|||
}
|
||||
|
||||
EntityScriptingInterface* ScriptEngine::getEntityScriptingInterface() {
|
||||
if (!ScriptEngine::_entityScriptingInterface) {
|
||||
ScriptEngine::_entityScriptingInterface = new EntityScriptingInterface();
|
||||
if (!_entityScriptingInterface) {
|
||||
_entityScriptingInterface = new EntityScriptingInterface();
|
||||
}
|
||||
return ScriptEngine::_entityScriptingInterface;
|
||||
return _entityScriptingInterface;
|
||||
}
|
||||
|
||||
ScriptEngine::ScriptEngine(const QString& scriptContents, const QString& fileNameString,
|
||||
|
|
Loading…
Reference in a new issue