reset ownedPropList everytime mergeProperties method is called.
This commit is contained in:
Horcrux
2016-08-24 17:36:27 +08:00
parent 8a1519d4fc
commit eabec82b97
9 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
if (template) {
[self beginTransparencyLayer:context];
[self clip:context];
[template mergeProperties:self mergeList:self.propList];
[template mergeProperties:self mergeList:self.ownedPropList];
[template renderTo:context];
[template resetProperties];
[self endTransparencyLayer:context];