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
(parent:
ed0f918
)
Execute Fillet feature from Python API if all parameters are filled
author
azv
<azv@opencascade.com>
Mon, 18 Dec 2017 08:18:42 +0000
(11:18 +0300)
committer
azv
<azv@opencascade.com>
Mon, 18 Dec 2017 08:18:42 +0000
(11:18 +0300)
src/FeaturesAPI/FeaturesAPI_Fillet.cpp
patch
|
blob
|
history
diff --git
a/src/FeaturesAPI/FeaturesAPI_Fillet.cpp
b/src/FeaturesAPI/FeaturesAPI_Fillet.cpp
index 17878f0cf2342d8a8b079156f46ea442d339f031..d69ed3d06fc9ee72f34b533513992ec4241f2d6f 100644
(file)
--- a/
src/FeaturesAPI/FeaturesAPI_Fillet.cpp
+++ b/
src/FeaturesAPI/FeaturesAPI_Fillet.cpp
@@
-40,6
+40,8
@@
FeaturesAPI_Fillet::FeaturesAPI_Fillet(const std::shared_ptr<ModelAPI_Feature>&
fillAttribute(FeaturesPlugin_Fillet::CREATION_METHOD_SINGLE_RADIUS(), mycreationMethod);
fillAttribute(theBaseObjects, mybaseObjects);
fillAttribute(theRadius, myradius);
+
+ execIfBaseNotEmpty();
}
}
@@
-54,6
+56,8
@@
FeaturesAPI_Fillet::FeaturesAPI_Fillet(const std::shared_ptr<ModelAPI_Feature>&
fillAttribute(theBaseObjects, mybaseObjects);
fillAttribute(theRadius1, mystartRadius);
fillAttribute(theRadius2, myendRadius);
+
+ execIfBaseNotEmpty();
}
}