[TD]handle ProjectionAngle changes

This commit is contained in:
wandererfan
2020-04-21 12:05:19 -04:00
committed by WandererFan
parent a3029fec74
commit 8b7d9ee749
5 changed files with 29 additions and 26 deletions

View File

@@ -55,9 +55,9 @@
using namespace TechDraw;
const char* DrawProjGroup::ProjectionTypeEnums[] = {"Default",
"First Angle",
const char* DrawProjGroup::ProjectionTypeEnums[] = {"First Angle",
"Third Angle",
"Default", //Use Page setting
NULL};
PROPERTY_SOURCE(TechDraw::DrawProjGroup, TechDraw::DrawViewCollection)
@@ -779,7 +779,7 @@ int DrawProjGroup::getViewIndex(const char *viewTypeCStr) const
Base::Console().Warning("DPG: %s - can not find parent page. Using default Projection Type. (1)\n",
getNameInDocument());
int projConv = getDefProjConv();
projType = ProjectionTypeEnums[projConv + 1];
projType = ProjectionTypeEnums[projConv];
}
} else {
projType = ProjectionType.getValueAsString();