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
Linux compilation and isPreviewNeeded method implementation.
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeRefAttr.cpp
diff --git
a/src/Model/Model_AttributeRefAttr.cpp
b/src/Model/Model_AttributeRefAttr.cpp
index 38e989e047ca7f10928df123f79e44117b43d02a..f399ba5be5405853d6c4ed7882c27d37ba30af77 100644
(file)
--- a/
src/Model/Model_AttributeRefAttr.cpp
+++ b/
src/Model/Model_AttributeRefAttr.cpp
@@
-7,6
+7,7
@@
#include "Model_AttributeRefAttr.h"
#include "Model_Application.h"
#include "Model_Data.h"
#include "Model_AttributeRefAttr.h"
#include "Model_Application.h"
#include "Model_Data.h"
+#include "Model_Objects.h"
#include <ModelAPI_Feature.h>
using namespace std;
#include <ModelAPI_Feature.h>
using namespace std;
@@
-76,7
+77,7
@@
ObjectPtr Model_AttributeRefAttr::object()
owner()->document());
if (aDoc) {
TDF_Label aRefLab = myRef->Get();
owner()->document());
if (aDoc) {
TDF_Label aRefLab = myRef->Get();
- return aDoc->object(aRefLab);
+ return aDoc->object
s()->object
(aRefLab);
}
}
// not initialized
}
}
// not initialized