]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0022307: implement workaround for OCC bug 0024263
authorskv <skv@opencascade.com>
Wed, 16 Oct 2013 13:49:44 +0000 (13:49 +0000)
committerskv <skv@opencascade.com>
Wed, 16 Oct 2013 13:49:44 +0000 (13:49 +0000)
src/GEOMImpl/GEOMImpl_BooleanDriver.cxx

index 250218208657f244760a1ae15acac7e3aef11c11..5dabd57a4f17d3d3a0e43056141fb6cd7e9c7af7 100644 (file)
@@ -205,6 +205,7 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute (TFunction_Logbook& log) const
             }
 
             // Copy shape
+            aShapeCopy.Nullify();
             TNaming_CopyShape::CopyTool(aShape2, aMapTShapes, aShapeCopy);
            aShape = performOperation (aShape, aShapeCopy, aSimpleType);
            
@@ -276,6 +277,7 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute (TFunction_Logbook& log) const
           }
 
           // Copy shape
+          aShapeCopy.Nullify();
           TNaming_CopyShape::CopyTool(aTool, aMapTShapes, aShapeCopy);
           aShape = performOperation (aShape, aShapeCopy, BOOLEAN_CUT);