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
Meet the coding style (line length <= 100)
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintEqual.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp
b/src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp
index 1b80c0c6b050e16088bea1b496c263716c60a5f0..e63764802a3f0d65cb2f3f0d5e217eb9dbe27c79 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp
@@
-36,10
+36,8
@@
AISObjectPtr SketchPlugin_ConstraintEqual::getAISObject(AISObjectPtr thePrevious
if (!sketch())
return thePrevious;
if (!sketch())
return thePrevious;
- AISObjectPtr anAIS = thePrevious;
- if (!anAIS) {
- anAIS = SketcherPrs_Factory::equalConstraint(this, sketch()->coordinatePlane());
- }
+ AISObjectPtr anAIS = SketcherPrs_Factory::equalConstraint(this, sketch()->coordinatePlane(),
+ thePrevious);
return anAIS;
}
return anAIS;
}