Commit af9ec09c authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot

Merge topic 'transform-modified'

3a47c467 Don't call Modified until modifications are complete
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4680
parents c9126a79 3a47c467
......@@ -89,26 +89,28 @@ void vtkTransform::PrintSelf(ostream& os, vtkIndent indent)
void vtkTransform::Identity()
{
this->Concatenation->Identity();
this->Modified();
// support for the legacy hack in InternalUpdate
if (this->Matrix->GetMTime() > this->MatrixUpdateMTime)
{
this->Matrix->Identity();
}
this->Modified();
}
//----------------------------------------------------------------------------
void vtkTransform::Inverse()
{
this->Concatenation->Inverse();
this->Modified();
// for the legacy hack in InternalUpdate
if (this->Matrix->GetMTime() > this->MatrixUpdateMTime)
{
this->Matrix->Invert();
}
this->Modified();
}
//----------------------------------------------------------------------------
......
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