[TD]handle ProjectionAngle changes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user