windrobin / papervision3d

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

buildCollada() fires LOAD_COMPLETE event before setting itself as loaded = true #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load DAE file.
2. addEventlistener LOAD_COMPLETE, someFunction
3. in the someFunction, we trace loaded... = false

What is the expected output? What do you see instead?
It is loaded, should be true.

Please provide any additional information below.
in buildCollada(), just move this.loaded = true; up a few lines.

Original issue reported on code.google.com by nexusdev...@gmail.com on 18 Sep 2009 at 4:00