mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #4082 from AndrewMeadows/bispinor
remove lock at EntityTreeRenderer::loadEntityScript
This commit is contained in:
commit
d1eddad00b
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