mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Following coding standard
This commit is contained in:
parent
18390c87da
commit
eaa67a41dd
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ void OverlayPanel::applyTransformTo(Transform& transform, bool force) {
|
|||
EntityTreePointer entityTree = DependencyManager::get<EntityScriptingInterface>()->getEntityTree();
|
||||
entityTree->withReadLock([&] {
|
||||
EntityItemPointer foundEntity = entityTree->findEntityByID(_anchorPositionBindEntity);
|
||||
if (foundEntity != NULL) {
|
||||
if (foundEntity) {
|
||||
transform.setTranslation(foundEntity->getPosition());
|
||||
}
|
||||
});
|
||||
|
@ -188,7 +188,7 @@ void OverlayPanel::applyTransformTo(Transform& transform, bool force) {
|
|||
EntityTreePointer entityTree = DependencyManager::get<EntityScriptingInterface>()->getEntityTree();
|
||||
entityTree->withReadLock([&] {
|
||||
EntityItemPointer foundEntity = entityTree->findEntityByID(_anchorRotationBindEntity);
|
||||
if (foundEntity != NULL) {
|
||||
if (foundEntity) {
|
||||
transform.setRotation(foundEntity->getRotation());
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue