Commit edf4ec4e authored by David Cole's avatar David Cole
Browse files

ENH: Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.107...

ENH: Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.107 -j1.108 Common/vtkTransform.cxx)
parent b4eb2770
......@@ -18,7 +18,7 @@
#include <stdlib.h>
vtkCxxRevisionMacro(vtkTransform, "1.106");
vtkCxxRevisionMacro(vtkTransform, "1.106.4.1");
vtkStandardNewMacro(vtkTransform);
//----------------------------------------------------------------------------
......@@ -462,9 +462,9 @@ void vtkTransform::GetOrientationWXYZ(double wxyz[4])
}
if (vtkMath::Determinant3x3(ortho) < 0)
{
ortho[0][i] = -ortho[0][i];
ortho[1][i] = -ortho[1][i];
ortho[2][i] = -ortho[2][i];
ortho[0][2] = -ortho[0][2];
ortho[1][2] = -ortho[1][2];
ortho[2][2] = -ortho[2][2];
}
vtkMath::Matrix3x3ToQuaternion(ortho, wxyz);
......
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