// These checks should be made to the GUI for the feature but
// the corresponding validator does not exist yet.
if (!aCylinderAlgo->check()) {
- setError(aCylinderAlgo->getError(), false);
+ setError(aCylinderAlgo->getError());
return;
}
// Check if the creation of the cylinder
if(!aCylinderAlgo->isDone()) {
// The error is not displayed in a popup window. It must be in the message console.
- setError(aCylinderAlgo->getError(), false);
+ setError(aCylinderAlgo->getError());
return;
}
if(!aCylinderAlgo->checkValid("Cylinder builder")) {
// The error is not displayed in a popup window. It must be in the message console.
- setError(aCylinderAlgo->getError(), false);
+ setError(aCylinderAlgo->getError());
return;
}
label="radius"
step="1."
default="5."
- min="0."
icon="icons/Primitives/radius.png"
tooltip="Enter the radius of the cylinder">
</doublevalue>
label="height"
step="1."
default="10."
- min="0."
icon="icons/Primitives/dimension_v.png"
tooltip="Enter the height of the cylinder">
</doublevalue>
label="radius"
step="1."
default="5."
- min="0."
icon="icons/Primitives/radius.png"
tooltip="Enter the radius of the cylinder">
</doublevalue>
label="height"
step="1."
default="10."
- min="0."
icon="icons/Primitives/dimension_v.png"
tooltip="Enter the height of the cylinder">
</doublevalue>
label="angle"
step="10."
default="45.0"
- min="0."
- max="360."
icon="icons/Primitives/angle.png"
tooltip="Enter the angle of the portion of the cylinder">
</doublevalue>