[FIXED] offscreen culling bug for containers?

Not sure if anyone else is experiencing this? I noticed this when dragging a display object around that had a container in it. It seems the container gets culled too early, when half of it is still on screen.

Here is an example that demonstrates it:

-- container 100 pix wide local c2 = display.newContainer(100,50) c2.anchorChildren=false c2.anchorX=0; c2.anchorY=0.5 c2.x=0; c2.y=50 -- put rectangle 300 pix wide inside container local r2 = display.newRect(0,0,300,50) r2.anchorX=0 c2:insert(r2) -- print out container position & width local lastx=0 local function c2dat() if (c2.x ~= lastx) then print ("c2 xyw: " .. c2.x .. "," .. c2.y .. "," .. c2.width) lastx=c2.x end end Runtime:addEventListener("enterFrame",c2dat) -- transition container to left. it will disappear when x=-50 and still half on screen transition.to(c2,{delay=1000,time=20000,delta=true,x=-100})

Yes, this is a container bug. It only happens when you set anchorChildren to false.

This will be fixed in G2.0 daily build 2008 or after

Awesome. Thanks!

Yes, this is a container bug. It only happens when you set anchorChildren to false.

This will be fixed in G2.0 daily build 2008 or after

Awesome. Thanks!