Added support for priority offset and scale into PagedLOD.

This commit is contained in:
Robert Osfield
2004-01-05 20:45:28 +00:00
parent 50a7fc16af
commit 413064fc6e
10 changed files with 137 additions and 80 deletions

View File

@@ -95,6 +95,9 @@ bool Group::insertChild( unsigned int index, Node *child )
// register as parent of child.
child->addParent(this);
// tell any subclasses that a child has been inserted so that they can update themselves.
childInserted(index);
dirtyBound();
@@ -168,6 +171,8 @@ bool Group::removeChild(unsigned int pos,unsigned int numChildrenToRemove)
_children.erase(_children.begin()+pos,_children.begin()+endOfRemoveRange);
childRemoved(pos,endOfRemoveRange-pos);
if (appCallbackRemoved)
{
setNumChildrenRequiringUpdateTraversal(getNumChildrenRequiringUpdateTraversal()-appCallbackRemoved);