cylindrical op: cylinder extension should be always first to execute

pull/1/head
Thorsten Liebig 2010-08-23 21:53:29 +02:00
parent a075955db3
commit 42e1968348
1 changed files with 3 additions and 3 deletions

View File

@ -55,9 +55,6 @@ void Operator_Cylinder::Reset()
void Operator_Cylinder::InitOperator()
{
__OP_CYLINDER_BASE_CLASS__::InitOperator();
if (CC_closedAlpha || CC_R0_included)
this->AddExtension(new Operator_Ext_Cylinder(this));
}
inline unsigned int Operator_Cylinder::GetNumberOfLines(int ny) const
@ -148,6 +145,9 @@ bool Operator_Cylinder::SetGeometryCSX(ContinuousStructure* geo)
CC_R0_included= true; //also needed for correct ec-calculation
}
if (CC_closedAlpha || CC_R0_included)
this->AddExtension(new Operator_Ext_Cylinder(this));
return true;
}