mirror of https://github.com/axmolengine/axmol.git
fix bug: label action in multiple cameras.
This commit is contained in:
parent
57a44194f4
commit
f55af40016
|
@ -1297,6 +1297,9 @@ uint32_t Node::processParentFlags(const Mat4& parentTransform, uint32_t parentFl
|
|||
}
|
||||
}
|
||||
|
||||
if (!isVisitableByVisitingCamera())
|
||||
return parentFlags;
|
||||
|
||||
uint32_t flags = parentFlags;
|
||||
flags |= (_transformUpdated ? FLAGS_TRANSFORM_DIRTY : 0);
|
||||
flags |= (_contentSizeDirty ? FLAGS_CONTENT_SIZE_DIRTY : 0);
|
||||
|
|
Loading…
Reference in New Issue