Masks are not updated when rotating or scaling images

There is a really strange behaviour with masked images (build 2011.616, Windows):

When rotating or scaling a masked image, its mask seems not to update. If the x or y property of the image is changed, however, the mask DOES update.

Example (mask does not update here):
[lua]MyMaskedImage.rotation = 90
MyMaskedImage.xScale = .5
MyMaskedImage.yScale = .5[/lua]
Example (mask DOES update here):
[lua]MyMaskedImage.rotation = 90
MyMaskedImage.xScale = .5
MyMaskedImage.yScale = .5
MyMaskedImage.x = MyMaskedImage.x + 1
MyMaskedImage.y = MyMaskedImage.y + 1[/lua]

So we always have to change the x and y properties of a masked image by a tiny (invisible) amount of .01 or so to force the mask to update, too, when scaling or rotating the masked image.

Ansca, could you please check the conditions in your code to update masks? It seems that you only do a mask update if the masked image’s position is changed, not if it is rotated or scaled only. [import]uid: 10504 topic_id: 15382 reply_id: 315382[/import]

BTW -same with transitions applied to masked images:

Here the masked image gets screwed up:
[lua]transition.from(Img,
{
rotation = 360,
xScale = .1,
yScale = .1,
time = 1000
})[/lua]
This works, however:
[lua]transition.from(Img,
{
x = Img.x-1,
y = Img.y-1,

rotation = 360,
xScale = .1,
yScale = .1,
time = 1000
})[/lua]
[import]uid: 10504 topic_id: 15382 reply_id: 56833[/import]