Rename 'OriginFeature' to 'DatumElement'
This commit is contained in:
@@ -301,7 +301,7 @@ void Document::exportGraphviz(std::ostream& out) const
|
||||
if (!sgraph) {
|
||||
auto group = GeoFeatureGroupExtension::getGroupOfObject(docObj);
|
||||
if (group) {
|
||||
if (docObj->isDerivedFrom(App::OriginFeature::getClassTypeId())) {
|
||||
if (docObj->isDerivedFrom(App::DatumElement::getClassTypeId())) {
|
||||
sgraph = GraphList[group->getExtensionByType<OriginGroupExtension>()
|
||||
->Origin.getValue()];
|
||||
}
|
||||
@@ -311,8 +311,8 @@ void Document::exportGraphviz(std::ostream& out) const
|
||||
}
|
||||
}
|
||||
if (!sgraph) {
|
||||
if (docObj->isDerivedFrom(OriginFeature::getClassTypeId())) {
|
||||
sgraph = GraphList[static_cast<OriginFeature*>(docObj)->getOrigin()];
|
||||
if (docObj->isDerivedFrom(DatumElement::getClassTypeId())) {
|
||||
sgraph = GraphList[static_cast<DatumElement*>(docObj)->getOrigin()];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user