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
Incorrect dumping of parts with user-defined names (issue #1804)
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintHorizontal.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintHorizontal.cpp
b/src/SketchPlugin/SketchPlugin_ConstraintHorizontal.cpp
index 9fe7e5188793955e98975860a063f0acaf706abf..558b44a3ddaa4aa6eea1af177f350db1f23579c2 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintHorizontal.cpp
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintHorizontal.cpp
@@
-14,6
+14,7
@@
#include <SketchPlugin_Sketch.h>
#include <SketcherPrs_Factory.h>
#include <SketchPlugin_Sketch.h>
#include <SketcherPrs_Factory.h>
+//#include <SketcherPrs_Tools.h>
#include <Config_PropManager.h>
#include <Config_PropManager.h>
@@
-35,11
+36,8
@@
AISObjectPtr SketchPlugin_ConstraintHorizontal::getAISObject(AISObjectPtr thePre
if (!sketch())
return thePrevious;
if (!sketch())
return thePrevious;
- AISObjectPtr anAIS = thePrevious;
- if (!anAIS) {
- anAIS = SketcherPrs_Factory::horisontalConstraint(this, sketch()->coordinatePlane());
- }
+ AISObjectPtr anAIS = SketcherPrs_Factory::horisontalConstraint(this, sketch()->coordinatePlane(),
+ thePrevious);
return anAIS;
}
return anAIS;
}
-