fix bug: label action in multiple cameras.

This commit is contained in:
lvlong 2015-04-17 10:19:20 +08:00
parent 57a44194f4
commit f55af40016
1 changed files with 3 additions and 0 deletions

View File

@ -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);