#include <GeomAlgoAPI_PointBuilder.h>
#include <memory>
+#include <iostream>
//=================================================================================================
PrimitivesPlugin_Box::PrimitivesPlugin_Box() // Nothing to do during instantiation
// These checks should be made to the GUI for the feature but
// the corresponding validator does not exist yet.
if (!aBoxAlgo->check()) {
- // The error is not displayed in a popup window. It must be in the status bar.
- setError(aBoxAlgo->getError(), false);
+ setError(aBoxAlgo->getError());
return;
}
// These checks should be made to the GUI for the feature but
// the corresponding validator does not exist yet.
if (!aBoxAlgo->check()) {
- // The error is not displayed in a popup window. It must be in the message console.
- setError(aBoxAlgo->getError(), false);
+ setError(aBoxAlgo->getError());
return;
}
// Check if the creation of the box
if(!aBoxAlgo->isDone()) {
// The error is not displayed in a popup window. It must be in the message console.
- setError(aBoxAlgo->getError(), false);
+ setError(aBoxAlgo->getError());
return;
}
if(!aBoxAlgo->checkValid("Box builder with two points")) {
// The error is not displayed in a popup window. It must be in the message console.
- setError(aBoxAlgo->getError(), false);
+ setError(aBoxAlgo->getError());
return;
}