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
Make sub-group features presented correctly in he tree
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintVertical.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintVertical.cpp
b/src/SketchPlugin/SketchPlugin_ConstraintVertical.cpp
index ecfc9177612f6f941b1ad4a98e219fea06a42c82..0520ca69ebca18eaeeeeda8364017347d5ea147b 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintVertical.cpp
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintVertical.cpp
@@
-23,7
+23,7
@@
SketchPlugin_ConstraintVertical::SketchPlugin_ConstraintVertical()
void SketchPlugin_ConstraintVertical::initAttributes()
{
void SketchPlugin_ConstraintVertical::initAttributes()
{
- data()->addAttribute(SketchPlugin_Constraint::ENTITY_A(), ModelAPI_AttributeRefAttr::type());
+ data()->addAttribute(SketchPlugin_Constraint::ENTITY_A(), ModelAPI_AttributeRefAttr::type
Id
());
}
void SketchPlugin_ConstraintVertical::execute()
}
void SketchPlugin_ConstraintVertical::execute()
@@
-35,8
+35,8
@@
AISObjectPtr SketchPlugin_ConstraintVertical::getAISObject(AISObjectPtr thePrevi
if (!sketch())
return thePrevious;
if (!sketch())
return thePrevious;
- AISObjectPtr anAIS =
thePrevious;
- /// TODO: Horizontal constraint presentation should be put here
+ AISObjectPtr anAIS =
SketcherPrs_Factory::verticalConstraint(this, sketch()->coordinatePlane(),
+ thePrevious);
return anAIS;
}
return anAIS;
}