Possible bug? Quad distortion and image fill

Not sure if this is a bug or if I’m misinterpreting how this should be behaving.

It seems that doing a transition on the path of a vector object with an image fill resets the fill scale?

Here is some example code:

start off with two identical rectangles and distort one of them, then put it back to how it started:

    -- rect test     display.setDefault("textureWrapX","repeat")     display.setDefault("textureWrapY","repeat")     local imagePaint = {type="image",filename="art/images/testpaper.jpg"}          local prect1 = display.newRect(250,50,50,50)     prect1.anchorX=0; prect1.anchorY=0     prect1.fill=imagePaint     prect1.fill.scaleX=2; prect1.fill.scaleY=2          local prect2 = display.newRect(200,50,50,50)     prect2.anchorX=0; prect2.anchorY=0     prect2.fill=imagePaint     prect2.fill.scaleX=2; prect2.fill.scaleY=2          -- distort 2nd rect     transition.to(prect2.path,{time=2500,y4=-20,y3=20,transition = easing.inOutQuad})     -- put it back to starting values     transition.to(prect2.path,{time=2500,delay=2500,y4=0,y3=0,transition = easing.inOutQuad})  

that produces output1.png, where the left rectangle loses its fill-scale value during the transition.

It seems to only happen with transitions. If I explicitly set the path.y3/path.y4 values, the scale of the fill is kept at 2.

Mac OSX 10.8.5

Corona Graphics 2.0 build 2001

I can confirm this bug.

It’s more evident when a delay is also put on the first transition like this:

-- distort 2nd rect transition.to(prect2.path,{delay=1000, time=2500,y4=-20,y3=20,transition = easing.inOutQuad}) -- put it back to starting values transition.to(prect2.path,{time=2500,delay=3500,y4=0,y3=0,transition = easing.inOutQuad})

Mac OSX 10.8.5

Corona Graphics 2.0 build 2001

I can confirm this bug.

It’s more evident when a delay is also put on the first transition like this:

-- distort 2nd rect transition.to(prect2.path,{delay=1000, time=2500,y4=-20,y3=20,transition = easing.inOutQuad}) -- put it back to starting values transition.to(prect2.path,{time=2500,delay=3500,y4=0,y3=0,transition = easing.inOutQuad})