0023047: Behaviour of XDE sample is non-stable
authordbv <dbv@opencascade.com>
Fri, 25 May 2012 11:00:08 +0000 (15:00 +0400)
committerdbv <dbv@opencascade.com>
Fri, 25 May 2012 11:00:08 +0000 (15:00 +0400)
commita7aa1465388b7670b71e0f3dcd9bd317bfebd020
tree9f6d67ce2d6a3fe336bf40d0de4d821af30c2594
parent1bfe9975141efe30754733682f3a28b1b0d80956
0023047: Behaviour of XDE sample is non-stable
Changed behavior of XCAFDoc_ShapeTool::RemoveShape(const TDF_Label& L) function. Now if L is a location for a shape then function will also removes the label with a shape.
Added Boolean argument to the XCAFDoc_ShapeTool::RemoveShape function which allow to choose either to delete an instance or a complete shape. (Standard_True by default, removes complete shape).
src/XCAFDoc/XCAFDoc_ShapeTool.cdl
src/XCAFDoc/XCAFDoc_ShapeTool.cxx
src/XDEDRAW/XDEDRAW_Shapes.cxx