fredsa / forplay

Automatically exported from code.google.com/p/forplay
Apache License 2.0
12 stars 4 forks source link

Setting layer scale to 0 causes problems #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create layer.
2. layer.setScale(0);
3. layer.setScale(1);

With an ImageLayer this causes a crash. With a CanvasLayer the canvas does not 
redraw.
Only tested in java environment.
Setting the scale to almost 0 (layer.setScale(0.001)) works.
Crash for ImageLayer only happens after scale is set back to 1

Original issue reported on code.google.com by skoru...@gmail.com on 27 May 2011 at 9:00

GoogleCodeExporter commented 9 years ago
Fix is in review: http://forplay-code-reviews.appspot.com/1003

Original comment by pdr@google.com on 28 May 2011 at 7:19

GoogleCodeExporter commented 9 years ago
Looks like this was fixed in r108.

Original comment by jgw@google.com on 29 May 2011 at 12:38