File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -2357,14 +2357,9 @@ def frozen(self):
2357
2357
return frozen
2358
2358
2359
2359
def _invalidate_internal (self , level , invalidating_node ):
2360
- # In some cases for a composite transform, an invalidating call to
2361
- # AFFINE_ONLY needs to be extended to invalidate the NON_AFFINE part
2362
- # too. These cases are when the right hand transform is non-affine and
2363
- # either:
2364
- # (a) the left hand transform is non affine
2365
- # (b) it is the left hand node which has triggered the invalidation
2366
- if (not self ._b .is_affine and
2367
- (not self ._a .is_affine or invalidating_node is self ._a )):
2360
+ # When the left child is invalidated at AFFINE_ONLY level and the right child is
2361
+ # non-affine, the composite transform is FULLY invalidated.
2362
+ if invalidating_node is self ._a and not self ._b .is_affine :
2368
2363
level = Transform ._INVALID_FULL
2369
2364
super ()._invalidate_internal (level , invalidating_node )
2370
2365
You can’t perform that action at this time.
0 commit comments