0024263: TNaming_CopyShape::CopyTool failure
[occt.git] / src / TNaming / TNaming_CopyShape.cxx
index 3cd0939..249c616 100755 (executable)
@@ -51,6 +51,7 @@ void TNaming_CopyShape::Translate( const TopoDS_Shape& aShape,
                                  TopoDS_Shape& aResult,
                                  const Handle(TNaming_TranslateTool)& TrTool)
 {
                                  TopoDS_Shape& aResult,
                                  const Handle(TNaming_TranslateTool)& TrTool)
 {
+  aResult.Nullify();
 
   if (aShape.IsNull()) return;
 
 
   if (aShape.IsNull()) return;