Update StackedTransform.cpp

This commit is contained in:
flashk 2019-03-05 09:32:55 -08:00 committed by GitHub
parent 572e1d75a4
commit 22c8c669e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,9 +41,7 @@ void StackedTransform::update(float t)
continue; continue;
// update and check if there are changes // update and check if there are changes
element->update(t); element->update(t);
if (!dirty && !element->isIdentity()){ dirty = true;
dirty = true;
}
} }
if (!dirty) if (!dirty)