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
Create tangent constraint presentation
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintTangent.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintTangent.cpp
b/src/SketchPlugin/SketchPlugin_ConstraintTangent.cpp
index f2cf4a30717bd55cb221c21ff3e52791d31913b8..c979d8939ac74d1a45dbe903ad7a75761fa5557d 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintTangent.cpp
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintTangent.cpp
@@
-37,7
+37,9
@@
AISObjectPtr SketchPlugin_ConstraintTangent::getAISObject(AISObjectPtr thePrevio
return thePrevious;
AISObjectPtr anAIS = thePrevious;
- /// TODO: Tangency constraint presentation should be put here
+ if (!anAIS) {
+ anAIS = SketcherPrs_Factory::tangentConstraint(this, sketch()->coordinatePlane());
+ }
return anAIS;
}