mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
remove unused variable cruft
This commit is contained in:
parent
bef14a46ac
commit
0ec56816c0
1 changed files with 2 additions and 2 deletions
|
@ -299,14 +299,14 @@ bool UpdateEntityOperator::preRecursion(OctreeElement* element) {
|
|||
}
|
||||
|
||||
// set the entity properties and mark our element as changed.
|
||||
bool somethingChanged = _existingEntity->setProperties(_properties);
|
||||
_existingEntity->setProperties(_properties);
|
||||
if (_wantDebug) {
|
||||
qDebug() << " *** set properties ***";
|
||||
}
|
||||
} else {
|
||||
// otherwise, this is an add case.
|
||||
entityTreeElement->addEntityItem(_existingEntity);
|
||||
bool somethingChanged = _existingEntity->setProperties(_properties); // still need to update the properties!
|
||||
_existingEntity->setProperties(_properties); // still need to update the properties!
|
||||
_tree->setContainingElement(_entityItemID, entityTreeElement);
|
||||
if (_wantDebug) {
|
||||
qDebug() << " *** ADDING ENTITY to ELEMENT and MAP and SETTING PROPERTIES ***";
|
||||
|
|
Loading…
Reference in a new issue