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
Using test for testing number of sub-shapes.
[modules/shaper.git]
/
src
/
SketchSolver
/
SketchSolver_Builder.cpp
diff --git
a/src/SketchSolver/SketchSolver_Builder.cpp
b/src/SketchSolver/SketchSolver_Builder.cpp
index ba7074e50c5447f3f292ef5b604a128de2c56f51..718ea18cacc6bdb7ccc6d2ef6f50f170faea00ef 100644
(file)
--- a/
src/SketchSolver/SketchSolver_Builder.cpp
+++ b/
src/SketchSolver/SketchSolver_Builder.cpp
@@
-22,7
+22,7
@@
#include <SketchSolver_ConstraintMovement.h>
#ifdef _DEBUG
#include <SketchSolver_ConstraintMovement.h>
#ifdef _DEBUG
-#include <Events_
Error
.h>
+#include <Events_
InfoMessage
.h>
#include <ModelAPI_AttributeRefList.h>
#include <ModelAPI_ResultConstruction.h>
#include <SketchSolver_Error.h>
#include <ModelAPI_AttributeRefList.h>
#include <ModelAPI_ResultConstruction.h>
#include <SketchSolver_Error.h>
@@
-61,7
+61,8
@@
SolverConstraintPtr SketchSolver_Builder::createConstraint(ConstraintPtr theCons
ResultConstructionPtr aRC =
std::dynamic_pointer_cast<ModelAPI_ResultConstruction>(aRefAttr->object());
if (!aRC)
ResultConstructionPtr aRC =
std::dynamic_pointer_cast<ModelAPI_ResultConstruction>(aRefAttr->object());
if (!aRC)
- Events_Error::send(SketchSolver_Error::NEED_OBJECT_NOT_FEATURE(), this);
+ Events_InfoMessage("SketchSolver_Builder",
+ SketchSolver_Error::NEED_OBJECT_NOT_FEATURE(), this).send();
}
continue;
}
}
continue;
}
@@
-73,7
+74,8
@@
SolverConstraintPtr SketchSolver_Builder::createConstraint(ConstraintPtr theCons
ResultConstructionPtr aRC =
std::dynamic_pointer_cast<ModelAPI_ResultConstruction>(*aListIter);
if (*aListIter && !aRC)
ResultConstructionPtr aRC =
std::dynamic_pointer_cast<ModelAPI_ResultConstruction>(*aListIter);
if (*aListIter && !aRC)
- Events_Error::send(SketchSolver_Error::NEED_OBJECT_NOT_FEATURE(), this);
+ Events_InfoMessage("SketchSolver_Builder",
+ SketchSolver_Error::NEED_OBJECT_NOT_FEATURE(), this).send();
}
}
}
}
}
}