Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quick optimization patch (bytearray for images)
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_GeomTool.cxx
diff --git
a/src/HYDROData/HYDROData_GeomTool.cxx
b/src/HYDROData/HYDROData_GeomTool.cxx
index 3d54e13f34e87e59f3cb4d8b03723619ca9f2f92..a152909c98247f0e26f54693bd0f917b820c8ba7 100644
(file)
--- a/
src/HYDROData/HYDROData_GeomTool.cxx
+++ b/
src/HYDROData/HYDROData_GeomTool.cxx
@@
-197,7
+197,12
@@
GEOM::GEOM_Object_ptr HYDROData_GeomTool::ExplodeShapeInGEOMandPublish( GEOM::GE
}
for (size_t i = 0; i < aFc->length(); i++)
}
for (size_t i = 0; i < aFc->length(); i++)
- GEOMBase::PublishSubObject(aFc->operator[](i), Names[i]);
+ {
+ std::string name = Names[i].toStdString();
+ GEOM::GEOM_Object_ptr anObj = aFc->operator[](i);
+ //GEOMBase::PublishSubObject( anObj, name.c_str() );
+ theGeomEngine->AddInStudy( theStudy, anObj, name.c_str(), aGeomObj );
+ }
return aGeomObj;
}
return aGeomObj;
}