Changeset 6118 in orxonox.OLD for branches/objectmanager/src
- Timestamp:
- Dec 14, 2005, 11:55:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/lib/coord/p_node.cc
r6078 r6118 81 81 { 82 82 deleteNode = tmp; 83 ++tmp;83 tmp++; 84 84 // printf("TEST::%s(%s) %s\n", (*deleteNode)->getName(), (*deleteNode)->getClassName(), this->getName()); 85 85 if ((this->parentMode & PNODE_PROHIBIT_CHILD_DELETE) || … … 470 470 this->getClassName(), this->getName(), child->getClassName(), child->getName()); 471 471 child->parent = NULL; 472 child->parentCoorChanged(); 472 473 } 473 474 } … … 536 537 if (this->parentMode & PNODE_REPARENT_CHILDREN_ON_REMOVE || 537 538 (*reparenter)->parentMode & PNODE_REPARENT_ON_PARENTS_REMOVE) 538 { printf("TEST----------------%s ---- %s\n", this->getClassName(), (*reparenter)->getClassName()); 539 { 540 printf("TEST----------------%s ---- %s\n", this->getClassName(), (*reparenter)->getClassName()); 539 541 (*reparenter)->reparent(); 540 542 printf("REPARENTED TO: %s::%s\n",(*reparenter)->getParent()->getClassName(),(*reparenter)->getParent()->getName()); … … 542 544 } 543 545 if (this->parent != NULL) 546 { 544 547 this->parent->eraseChild(this); 548 this->parent = NULL; 549 } 545 550 } 546 551
Note: See TracChangeset
for help on using the changeset viewer.