remove unused variable cruft

This commit is contained in:
Andrew Meadows 2014-12-29 10:43:09 -08:00
parent bef14a46ac
commit 0ec56816c0

View file

@ -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 ***";