mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +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");
|
MESSAGE("GEOM_Superv_i::MakeSphepe");
|
||||||
getBasicOp();
|
getBasicOp();
|
||||||
get3DPrimOp();
|
get3DPrimOp();
|
||||||
GEOM::GEOM_Object_var o = myBasicOp->MakePointXYZ(theX, theY, theZ);
|
GEOM::GEOM_Object_ptr anObj = my3DPrimOp->MakeSpherePntR(myBasicOp->MakePointXYZ(theX, theY, theZ), theRadius);
|
||||||
GEOM::GEOM_Object_ptr anObj = my3DPrimOp->MakeSpherePntR(o, theRadius);
|
|
||||||
o->Destroy();
|
|
||||||
endService( " GEOM_Superv_i::MakeSphepe" );
|
endService( " GEOM_Superv_i::MakeSphepe" );
|
||||||
return anObj;
|
return anObj;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user