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_ConstraintParallel.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintParallel.cpp
b/src/SketchPlugin/SketchPlugin_ConstraintParallel.cpp
index 42ce74b78572f01ad5a9af1544e639eca8544320..7a6f71af5650be85384f0ec15cb6d5111553cd37 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintParallel.cpp
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintParallel.cpp
@@
-43,10
+43,8
@@
AISObjectPtr SketchPlugin_ConstraintParallel::getAISObject(AISObjectPtr thePrevi
if (!sketch())
return thePrevious;
if (!sketch())
return thePrevious;
- AISObjectPtr anAIS = thePrevious;
- if (!anAIS) {
- anAIS = SketcherPrs_Factory::parallelConstraint(this, sketch()->coordinatePlane());
- }
+ AISObjectPtr anAIS = SketcherPrs_Factory::parallelConstraint(this, sketch()->coordinatePlane(),
+ thePrevious);
return anAIS;
}
return anAIS;
}