Update StackedTransform.cpp

This commit is contained in:
flashk 2019-03-05 09:32:55 -08:00 committed by Robert Osfield
parent b14bb21801
commit c89a7fe67c

View File

@ -41,10 +41,8 @@ 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)
return; return;