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
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Line.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_Line.cpp
b/src/SketchPlugin/SketchPlugin_Line.cpp
index f0c76538a92ff0973a46813f32945c8299bf854c..ea5d0a42b1e57039053e2a7ff2c63b1d0b34d0c5 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Line.cpp
+++ b/
src/SketchPlugin/SketchPlugin_Line.cpp
@@
-101,7
+101,7
@@
double SketchPlugin_Line::distanceToPoint(const std::shared_ptr<GeomAPI_Pnt2d>&
}
bool SketchPlugin_Line::isFixed() {
- return data()->selection(EXTERNAL_ID())->context().get();
+ return data()->selection(EXTERNAL_ID())->context().get()
!= NULL
;
}
void SketchPlugin_Line::attributeChanged(const std::string& theID) {