samreid / piccolo2d

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

Because Cloning uses serialization all transient fields are null. #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When you clone a node with registered listeners (PropertyChange or
PInputEventListener), the clone does not have those listeners registered.

I can't think of any advantage you might get from this behaviour.

I suspect this is due to how clone delegates to serialization and relevant
fields are flagged as transient.

Anyone else think this deserves to be re-examined?

Original issue reported on code.google.com by allain.lalonde on 17 Apr 2010 at 1:38

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 31 Aug 2012 at 8:24

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 26 Nov 2013 at 9:11