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 'master' of newgeom:newgeom.git
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_Tools.cpp
diff --git
a/src/PartSet/PartSet_Tools.cpp
b/src/PartSet/PartSet_Tools.cpp
index 92c66ffbe9f87ad8cebd72ebd89ae07460a1f367..a52a43453679dade0c073386a9fe9516cf8948bc 100644
(file)
--- a/
src/PartSet/PartSet_Tools.cpp
+++ b/
src/PartSet/PartSet_Tools.cpp
@@
-171,7
+171,7
@@
FeaturePtr PartSet_Tools::nearestFeature(QPoint thePoint, Handle_V3d_View theVie
boost::shared_ptr<ModelAPI_Document> PartSet_Tools::document()
{
boost::shared_ptr<ModelAPI_Document> PartSet_Tools::document()
{
- return ModelAPI_
PluginManager::get()->root
Document();
+ return ModelAPI_
Session::get()->module
Document();
}
void PartSet_Tools::setFeaturePoint(FeaturePtr theFeature, double theX, double theY,
}
void PartSet_Tools::setFeaturePoint(FeaturePtr theFeature, double theX, double theY,