Reverted change of Node::ParentList from being a vector<Node*> back to a vector<Group*>
This commit is contained in:
@@ -104,8 +104,7 @@ public:
|
||||
pitr != parents.end();
|
||||
++pitr)
|
||||
{
|
||||
osg::Node* parent = *pitr;
|
||||
parent->removeChild(node);
|
||||
(*pitr)->removeChild(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -334,7 +334,7 @@ public:
|
||||
// particle effect can be inserted into this.
|
||||
osg::ref_ptr<osg::Node> hitNode = hit.nodePath.back();
|
||||
osg::Node::ParentList parents = hitNode->getParents();
|
||||
osg::Node* insertGroup = 0;
|
||||
osg::Group* insertGroup = 0;
|
||||
unsigned int numGroupsFound = 0;
|
||||
for(osg::Node::ParentList::iterator itr=parents.begin();
|
||||
itr!=parents.end();
|
||||
|
||||
Reference in New Issue
Block a user