1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024263: TNaming_CopyShape::CopyTool failure

Test case for issue CR24263
This commit is contained in:
skv
2013-11-21 14:58:03 +04:00
committed by bugmaster
parent 51b10cd466
commit 659b232a7c
3 changed files with 73 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ void TNaming_CopyShape::Translate( const TopoDS_Shape& aShape,
TopoDS_Shape& aResult,
const Handle(TNaming_TranslateTool)& TrTool)
{
aResult.Nullify();
if (aShape.IsNull()) return;