Commit 6e639a2d by Christophe Geuzaine

accept more than 20 control points

parent 255d653e
Pipeline #167 passed with stage
in 9 minutes 21 seconds
Showing with 2 additions and 2 deletions
......@@ -905,8 +905,8 @@ bool OCC_Internals::_addSpline(int &tag, const std::vector<int> &vertexTags, int
Msg::Error("OpenCASCADE edge with tag %d already exists", tag);
return false;
}
if(vertexTags.size() < 2 || vertexTags.size() > 20){
Msg::Error("Number of control points should be in [2,20]");
if(vertexTags.size() < 2){
Msg::Error("Number of control points should be at least 2");
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment