Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
283986e
)
Fix compilation on Linux of SketchAPI project
author
azv
<artem.zhidkov@opencascade.com>
Tue, 14 Mar 2017 12:26:35 +0000
(15:26 +0300)
committer
azv
<artem.zhidkov@opencascade.com>
Tue, 14 Mar 2017 12:26:35 +0000
(15:26 +0300)
src/SketchAPI/SketchAPI_Sketch.cpp
patch
|
blob
|
history
diff --git
a/src/SketchAPI/SketchAPI_Sketch.cpp
b/src/SketchAPI/SketchAPI_Sketch.cpp
index ec05c13773bd2b13a26eee659cda9bd2dd9a18a3..d9fff77cebdb054398ca78d6a3ba6589f84605ea 100644
(file)
--- a/
src/SketchAPI/SketchAPI_Sketch.cpp
+++ b/
src/SketchAPI/SketchAPI_Sketch.cpp
@@
-626,7
+626,7
@@
std::shared_ptr<ModelHighAPI_Interface> SketchAPI_Sketch::setFilletWithRadius(
// set radius for just created arc
FeaturePtr anArc = aSketch->subFeature(aNbSubs - 1);
if (anArc->getKind() == SketchPlugin_Arc::ID())
- setRadius(ModelHighAPI_RefAttr(
anArc->lastResult(
)), ModelHighAPI_Double(theRadius));
+ setRadius(ModelHighAPI_RefAttr(
ObjectPtr(anArc->lastResult()
)), ModelHighAPI_Double(theRadius));
return aFilletFeature;
}