freebsd-ports/graphics/libx3dtk/files/patch-X3DMFNodeFunctor.inl
Pav Lucistnik 475c319554 X3DToolKit is a portable LGPL free C++ toolkit for loading, displaying and
processing X3D models

PR:		ports/88184
Submitted by:	German Tischler <tanis@gaspode.franken.de>
2005-11-18 00:15:24 +00:00

53 lines
1.3 KiB
C++

*** include/X3DTK/private/X3DMFNodeFunctor.inl.orig Fri Aug 27 13:18:22 2004
--- include/X3DTK/private/X3DMFNodeFunctor.inl Sat Oct 29 12:40:12 2005
***************
*** 20,26 ****
if (dynamic_cast<V *>(C) != 0)
{
(static_cast<T *>(N)->*_nodes).push_back(C);
! X3DAbstractNode::addParentToChild(N, C);
return true;
}
--- 20,26 ----
if (dynamic_cast<V *>(C) != 0)
{
(static_cast<T *>(N)->*_nodes).push_back(C);
! X3DAbstractNode_addParentToChild(N, C);
return true;
}
***************
*** 35,41 ****
if (res != nodes.end())
{
! X3DAbstractNode::removeParentFromChild(N, C);
nodes.erase(res);
return true;
}
--- 35,41 ----
if (res != nodes.end())
{
! X3DAbstractNode_removeParentFromChild(N, C);
nodes.erase(res);
return true;
}
***************
*** 51,57 ****
MFNode &nodes = (static_cast<T *>(N)->*_nodes);
for (MFNode::const_iterator it = nodes.begin(); it != nodes.end(); ++it)
! X3DAbstractNode::removeParentFromChild(N, *it);
nodes.clear();
}
--- 51,57 ----
MFNode &nodes = (static_cast<T *>(N)->*_nodes);
for (MFNode::const_iterator it = nodes.begin(); it != nodes.end(); ++it)
! X3DAbstractNode_removeParentFromChild(N, *it);
nodes.clear();
}