Added init after read for GeoMechView/Case

And finalized moving the caseUserDescription field
All in order to get project load to work. Nearly there. Animation frame
is not restored though.
This commit is contained in:
Jacob Støren
2015-05-16 08:45:50 +02:00
parent 5e44826206
commit 9596f6c0a4
6 changed files with 29 additions and 13 deletions

View File

@@ -53,12 +53,10 @@ public:
virtual std::vector<RimView*> views();
// Fields:
caf::PdmField<QString> caseUserDescription;
caf::PdmPointersField<RimGeoMechView*> geoMechViews;
private:
virtual caf::PdmFieldHandle* userDescriptionField();
virtual void initAfterRead();
private:
cvf::ref<RigGeoMechCaseData> m_geoMechCaseData;
caf::PdmField<QString> m_caseFileName;