History

remove debug from EntityTreeSendThread

Stephen Birarda committed 9 years ago

Commit fe11a941 parent 9d336a81 file · +0 −4Browse files

Showing the changes to assignment-client/src/entities/EntityTreeSendThread.cpp (1 of 1 file). Show all

Unified · Split

assignment-client/src/entities/EntityTreeSendThread.cpp+0−4
@@ -93,8 +93,6 @@ bool EntityTreeSendThread::addAncestorsToExtraFlaggedEntities(const QUuid& filte · 92 unmodified lines
93 // first add it to the extra list of things we need to send93 // first add it to the extra list of things we need to send
94 bool parentWasNew = nodeData.insertFlaggedExtraEntity(filteredEntityID, entityParent->getID());94 bool parentWasNew = nodeData.insertFlaggedExtraEntity(filteredEntityID, entityParent->getID());
95 95
96// qDebug() << "Adding" << entityParent->getID() << "which is an ancestor of" << filteredEntityID;
97
98 // now recursively call ourselves to get its ancestors added too96 // now recursively call ourselves to get its ancestors added too
99 auto parentEntityItem = std::static_pointer_cast<EntityItem>(entityParent);97 auto parentEntityItem = std::static_pointer_cast<EntityItem>(entityParent);
100 bool ancestorsWereNew = addAncestorsToExtraFlaggedEntities(filteredEntityID, *parentEntityItem, nodeData);98 bool ancestorsWereNew = addAncestorsToExtraFlaggedEntities(filteredEntityID, *parentEntityItem, nodeData);
@@ -122,8 +120,6 @@ bool EntityTreeSendThread::addDescendantsToExtraFlaggedEntities(const QUuid& fil · 21 unmodified lines
122 // first add it to the extra list of things we need to send120 // first add it to the extra list of things we need to send
123 hasNewChild |= nodeData.insertFlaggedExtraEntity(filteredEntityID, child->getID());121 hasNewChild |= nodeData.insertFlaggedExtraEntity(filteredEntityID, child->getID());
124 122
125// qDebug() << "Adding" << child->getID() << "which is a descendant of" << filteredEntityID;
126
127 // now recursively call ourselves to get its descendants added too123 // now recursively call ourselves to get its descendants added too
128 auto childEntityItem = std::static_pointer_cast<EntityItem>(child);124 auto childEntityItem = std::static_pointer_cast<EntityItem>(child);
129 hasNewDescendants |= addDescendantsToExtraFlaggedEntities(filteredEntityID, *childEntityItem, nodeData);125 hasNewDescendants |= addDescendantsToExtraFlaggedEntities(filteredEntityID, *childEntityItem, nodeData);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t