mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:28:03 +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.
|
// set the entity properties and mark our element as changed.
|
||||||
bool somethingChanged = _existingEntity->setProperties(_properties);
|
_existingEntity->setProperties(_properties);
|
||||||
if (_wantDebug) {
|
if (_wantDebug) {
|
||||||
qDebug() << " *** set properties ***";
|
qDebug() << " *** set properties ***";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// otherwise, this is an add case.
|
// otherwise, this is an add case.
|
||||||
entityTreeElement->addEntityItem(_existingEntity);
|
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);
|
_tree->setContainingElement(_entityItemID, entityTreeElement);
|
||||||
if (_wantDebug) {
|
if (_wantDebug) {
|
||||||
qDebug() << " *** ADDING ENTITY to ELEMENT and MAP and SETTING PROPERTIES ***";
|
qDebug() << " *** ADDING ENTITY to ELEMENT and MAP and SETTING PROPERTIES ***";
|
||||||
|
|
Loading…
Reference in a new issue