Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
271ebfd
)
Fix for bug IPAL18899 : 4x REGRESS: Dump python on the study leads to fatal error...
author
mkr
<mkr@opencascade.com>
Fri, 4 Jul 2008 12:07:13 +0000
(12:07 +0000)
committer
mkr
<mkr@opencascade.com>
Fri, 4 Jul 2008 12:07:13 +0000
(12:07 +0000)
src/GEOM_I_Superv/GEOM_Superv_i.cc
patch
|
blob
|
history
diff --git
a/src/GEOM_I_Superv/GEOM_Superv_i.cc
b/src/GEOM_I_Superv/GEOM_Superv_i.cc
index bd10a670703832a871627069723ab72db7086e4d..85cea16c173a884c8c7be4edd6e7251c7f601dd3 100644
(file)
--- a/
src/GEOM_I_Superv/GEOM_Superv_i.cc
+++ b/
src/GEOM_I_Superv/GEOM_Superv_i.cc
@@
-813,9
+813,7
@@
GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSphere (CORBA::Double theX,
MESSAGE("GEOM_Superv_i::MakeSphepe");
getBasicOp();
get3DPrimOp();
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;
}
endService( " GEOM_Superv_i::MakeSphepe" );
return anObj;
}