mirror of
https://github.com/lubosz/overte.git
synced 2025-04-09 02:42:35 +02:00
remove lock at EntityTreeRenderer::loadEntityScript
This commit is contained in:
parent
c80414dd96
commit
5309fb6a43
1 changed files with 0 additions and 2 deletions
|
@ -98,9 +98,7 @@ void EntityTreeRenderer::init() {
|
|||
}
|
||||
|
||||
QScriptValue EntityTreeRenderer::loadEntityScript(const EntityItemID& entityItemID) {
|
||||
_tree->lockForRead();
|
||||
EntityItem* entity = static_cast<EntityTree*>(_tree)->findEntityByEntityItemID(entityItemID);
|
||||
_tree->unlock();
|
||||
return loadEntityScript(entity);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue