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
Fix Import/Export tests
[modules/shaper.git]
/
src
/
ExchangePlugin
/
ExchangePlugin_ImportFeature.cpp
diff --git
a/src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp
b/src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp
index bcf06561e071f8887904c11d188fb1356df31700..e2d29c9c85ad7b2c8255a96617f8e068d9c1e5b0 100644
(file)
--- a/
src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp
+++ b/
src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp
@@
-17,13
+17,12
@@
#include <Config_PropManager.h>
#include <ModelAPI_AttributeString.h>
#include <Config_PropManager.h>
#include <ModelAPI_AttributeString.h>
+#include <ModelAPI_BodyBuilder.h>
#include <ModelAPI_Data.h>
#include <ModelAPI_Document.h>
#include <ModelAPI_Object.h>
#include <ModelAPI_ResultBody.h>
#include <ModelAPI_Data.h>
#include <ModelAPI_Document.h>
#include <ModelAPI_Object.h>
#include <ModelAPI_ResultBody.h>
-#include <TopoDS_Shape.hxx>
-
#include <algorithm>
#include <string>
#ifdef _DEBUG
#include <algorithm>
#include <string>
#ifdef _DEBUG
@@
-114,9
+113,9
@@
void ExchangePlugin_ImportFeature::loadNamingDS(
std::shared_ptr<ModelAPI_ResultBody> theResultBody)
{
//load result
std::shared_ptr<ModelAPI_ResultBody> theResultBody)
{
//load result
- theResultBody->store(theGeomShape);
+ theResultBody->
getBodyBuilder()->
store(theGeomShape);
int aTag(1);
std::string aNameMS = "Shape";
int aTag(1);
std::string aNameMS = "Shape";
- theResultBody->loadFirstLevel(theGeomShape, aNameMS, aTag);
+ theResultBody->
getBodyBuilder()->
loadFirstLevel(theGeomShape, aNameMS, aTag);
}
}