- IOLS. fatal error SIGSEGV on some presentations
VISU_CutPlanesPL
::SetNbParts(int theNbParts)
{
- if(theNbParts > 0 && myNbParts != theNbParts){
+ if(theNbParts > 0 && GetNbParts() != theNbParts){
myPartPosition.resize(theNbParts);
myPartCondition.resize(theNbParts, 1);
myNbParts = theNbParts;
}
+//----------------------------------------------------------------------------
+int
+VISU_CutPlanesPL
+::GetNbParts()
+{
+ return myPartPosition.size();
+}
+
+
//----------------------------------------------------------------------------
void
VISU_CutPlanesPL
virtual
int
- GetNbParts()
- {
- return myNbParts;
- }
+ GetNbParts();
public:
virtual