lottie: use testFlag() api to test the flag.

Change-Id: I3ee5341c66562241f0d83ee396347804d5b0eb7d
This commit is contained in:
subhransu mohanty
2018-12-11 10:50:07 +09:00
parent 34c12f2d60
commit 6e60047a56

View File

@@ -389,7 +389,7 @@ void LOTLayerItem::update(int frameNumber, const VMatrix &parentMatrix,
}
// 5. if no parent property change and layer is static then nothing to do.
if ((flag() & DirtyFlagBit::None) && isStatic()) return;
if (flag().testFlag(DirtyFlagBit::None) && isStatic()) return;
// 6. update the content of the layer
updateContent();