Commit 6b0a073f authored by Ken Martin's avatar Ken Martin
Browse files

A fix for Vector Mult Pre/Post

parent 648deee6
......@@ -548,6 +548,15 @@ void vlTransform::PrintSelf (ostream& os, vlIndent indent)
float *vlTransform::GetVector()
{
this->Stack[0]->VectorMultiply(this->Vector,this->Vector);
if (this->PreMultiplyFlag)
{
this->Stack[0]->Transpose();
this->Stack[0]->VectorMultiply(this->Vector,this->Vector);
this->Stack[0]->Transpose();
}
else
{
this->Stack[0]->VectorMultiply(this->Vector,this->Vector);
}
return this->Vector;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment