Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #1412:Selection mode preferences modified
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_Partition.cpp
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp
b/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp
index fd3d270a4c7b4a6e87d6de11ee74688cb0f18e0d..66a64ba435017e15ef2fa1c3853a286f408c3b40 100755
(executable)
--- a/
src/FeaturesPlugin/FeaturesPlugin_Partition.cpp
+++ b/
src/FeaturesPlugin/FeaturesPlugin_Partition.cpp
@@
-93,7
+93,7
@@
void FeaturesPlugin_Partition::execute()
bool isCombine = boolean(COMBINE_ID())->value();
if(anObjects.empty()/* || aTools.empty()*/) {
bool isCombine = boolean(COMBINE_ID())->value();
if(anObjects.empty()/* || aTools.empty()*/) {
- std::string aFeatureError = "
Not enough objects for partition operation
";
+ std::string aFeatureError = "
Error: Not enough objects for partition operation.
";
setError(aFeatureError);
return;
}
setError(aFeatureError);
return;
}
@@
-112,17
+112,17
@@
void FeaturesPlugin_Partition::execute()
// Checking that the algorithm worked properly.
if (!aPartitionAlgo->isDone()) {
// Checking that the algorithm worked properly.
if (!aPartitionAlgo->isDone()) {
- static const std::string aFeatureError = "
Partition algorithm failed
";
+ static const std::string aFeatureError = "
Error: Partition algorithm failed.
";
setError(aFeatureError);
return;
}
if (aPartitionAlgo->shape()->isNull()) {
setError(aFeatureError);
return;
}
if (aPartitionAlgo->shape()->isNull()) {
- static const std::string aShapeError = "
Resulting shape is Null
";
+ static const std::string aShapeError = "
Error: Resulting shape is Null.
";
setError(aShapeError);
return;
}
if (!aPartitionAlgo->isValid()) {
setError(aShapeError);
return;
}
if (!aPartitionAlgo->isValid()) {
- std::string aFeatureError = "
Warning: resulting shape is not valid
";
+ std::string aFeatureError = "
Error: Resulting shape is not valid.
";
setError(aFeatureError);
return;
}
setError(aFeatureError);
return;
}
@@
-147,17
+147,17
@@
void FeaturesPlugin_Partition::execute()
// Checking that the algorithm worked properly.
if (!aPartitionAlgo->isDone()) {
// Checking that the algorithm worked properly.
if (!aPartitionAlgo->isDone()) {
- static const std::string aFeatureError = "
Partition algorithm failed
";
+ static const std::string aFeatureError = "
Error: Partition algorithm failed.
";
setError(aFeatureError);
return;
}
if (aPartitionAlgo->shape()->isNull()) {
setError(aFeatureError);
return;
}
if (aPartitionAlgo->shape()->isNull()) {
- static const std::string aShapeError = "
Resulting shape is Null
";
+ static const std::string aShapeError = "
Error: Resulting shape is Null.
";
setError(aShapeError);
return;
}
if (!aPartitionAlgo->isValid()) {
setError(aShapeError);
return;
}
if (!aPartitionAlgo->isValid()) {
- std::string aFeatureError = "
Warning: resulting shape is not valid
";
+ std::string aFeatureError = "
Error: Resulting shape is not valid.
";
setError(aFeatureError);
return;
}
setError(aFeatureError);
return;
}