GoogleCodeArchive / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

repaintFromLayer has PNode parameter type #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
repaintFromLayer has PNode as its second argument.  If the method is named
properly (and I assume it is) then we could safely change PNode to PLayer.

This would cause a binary incompatibility though so, I suggest we create a
second method that accepts a PLayer, mark the original as deprecated and
delegate the orginal to the new one.

Agreed?

Original issue reported on code.google.com by allain.lalonde on 13 Jul 2009 at 2:26

GoogleCodeExporter commented 9 years ago
Fixed in r488; deprecated repaintFromlayer(PBounds, PNode) in favor of the more
specific repaintFromlayer(PBounds, PLayer) making it impossible to accidentally
pass a camera say to this method

Original comment by allain.lalonde on 17 Jul 2009 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 28 Jul 2009 at 1:34