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 #2130: arc is done not as desired
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintRigid.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintRigid.cpp
b/src/SketchPlugin/SketchPlugin_ConstraintRigid.cpp
index 741674a5b9429e461ffa6cf1da6bbca6f7d00029..fe5453aa4e8dd0bb2a6d5b76c85f1ea07d9034d8 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintRigid.cpp
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintRigid.cpp
@@
-6,6
+6,7
@@
#include "SketchPlugin_ConstraintRigid.h"
#include "SketchPlugin_ConstraintParallel.h"
#include "SketchPlugin_ConstraintRigid.h"
#include "SketchPlugin_ConstraintParallel.h"
+#include "SketchPlugin_Feature.h"
#include <SketcherPrs_Factory.h>
#include <SketcherPrs_Factory.h>
@@
-32,11
+33,5
@@
AISObjectPtr SketchPlugin_ConstraintRigid::getAISObject(AISObjectPtr thePrevious
{
if (!sketch())
return thePrevious;
{
if (!sketch())
return thePrevious;
-
- AISObjectPtr anAIS = thePrevious;
- if (!anAIS) {
- anAIS = SketcherPrs_Factory::rigidConstraint(this, sketch()->coordinatePlane());
- }
-
- return anAIS;
+ return SketcherPrs_Factory::rigidConstraint(this, sketch()->coordinatePlane(), thePrevious);
}
\ No newline at end of file
}
\ No newline at end of file