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
Task "Make the size of the selection area even bigger, especially for points"
[modules/shaper.git]
/
src
/
Model
/
Model_BodyBuilder.cpp
diff --git
a/src/Model/Model_BodyBuilder.cpp
b/src/Model/Model_BodyBuilder.cpp
index fe1541286a3fe7c19cdbfb242a8fe12643b026e6..bfa8d62fe1a32d7a78b6a20dd77aa45c8e1e4172 100755
(executable)
--- a/
src/Model/Model_BodyBuilder.cpp
+++ b/
src/Model/Model_BodyBuilder.cpp
@@
-393,7
+393,9
@@
void Model_BodyBuilder::loadAndOrientModifiedShapes (
std::shared_ptr<GeomAPI_Shape> aMapShape(theSubShapes.find(*anIt));
aNewShape.Orientation(aMapShape->impl<TopoDS_Shape>().Orientation());
}
std::shared_ptr<GeomAPI_Shape> aMapShape(theSubShapes.find(*anIt));
aNewShape.Orientation(aMapShape->impl<TopoDS_Shape>().Orientation());
}
- if(!aRoot.IsSame(aNewShape) && aResultShape->isSubShape(*anIt)) {
+ GeomShapePtr aGeomNewShape(new GeomAPI_Shape());
+ aGeomNewShape->setImpl(new TopoDS_Shape(aNewShape));
+ if(!aRoot.IsSame(aNewShape) && aResultShape->isSubShape(aGeomNewShape)) {
builder(aTag)->Modify(aRoot,aNewShape);
if(isBuilt) {
if(theIsStoreSeparate) {
builder(aTag)->Modify(aRoot,aNewShape);
if(isBuilt) {
if(theIsStoreSeparate) {