mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:13:29 +02:00
formatting
This commit is contained in:
parent
6d5d6b9085
commit
839b622a05
1 changed files with 0 additions and 2 deletions
|
@ -71,7 +71,6 @@ EntityItemID EntityScriptingInterface::identifyEntity(EntityItemID entityID) {
|
||||||
|
|
||||||
EntityItemProperties EntityScriptingInterface::getEntityProperties(EntityItemID entityID) {
|
EntityItemProperties EntityScriptingInterface::getEntityProperties(EntityItemID entityID) {
|
||||||
EntityItemProperties results;
|
EntityItemProperties results;
|
||||||
|
|
||||||
EntityItemID identity = identifyEntity(entityID);
|
EntityItemID identity = identifyEntity(entityID);
|
||||||
if (_entityTree) {
|
if (_entityTree) {
|
||||||
_entityTree->lockForRead();
|
_entityTree->lockForRead();
|
||||||
|
@ -102,7 +101,6 @@ EntityItemProperties EntityScriptingInterface::getEntityProperties(EntityItemID
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityItemID EntityScriptingInterface::editEntity(EntityItemID entityID, const EntityItemProperties& properties) {
|
EntityItemID EntityScriptingInterface::editEntity(EntityItemID entityID, const EntityItemProperties& properties) {
|
||||||
|
|
||||||
EntityItemID actualID = entityID;
|
EntityItemID actualID = entityID;
|
||||||
// if the entity is unknown, attempt to look it up
|
// if the entity is unknown, attempt to look it up
|
||||||
if (!entityID.isKnownID) {
|
if (!entityID.isKnownID) {
|
||||||
|
|
Loading…
Reference in a new issue