mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
Fix for bug IPAL18899 : 4x REGRESS: Dump python on the study leads to fatal error "Unknown Exception".
This commit is contained in:
parent
271ebfda77
commit
24523717da
@ -813,9 +813,7 @@ GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSphere (CORBA::Double theX,
|
||||
MESSAGE("GEOM_Superv_i::MakeSphepe");
|
||||
getBasicOp();
|
||||
get3DPrimOp();
|
||||
GEOM::GEOM_Object_var o = myBasicOp->MakePointXYZ(theX, theY, theZ);
|
||||
GEOM::GEOM_Object_ptr anObj = my3DPrimOp->MakeSpherePntR(o, theRadius);
|
||||
o->Destroy();
|
||||
GEOM::GEOM_Object_ptr anObj = my3DPrimOp->MakeSpherePntR(myBasicOp->MakePointXYZ(theX, theY, theZ), theRadius);
|
||||
endService( " GEOM_Superv_i::MakeSphepe" );
|
||||
return anObj;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user