kottore / away3d

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

CenterLightningMaterial.as, line 385 - Warning: 3596: Duplicate variable definition. #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download http://away3d.com/download/lessons_2_3_0.zip
2. Unzip and open Lesson_Basic_01_HelloAway3D.fla
3. Compile in Flash

What is the expected output? What do you see instead?
I expect nothing, and I get the warning "CenterLightningMaterial.as, line
385 - Warning: 3596: Duplicate variable definition."

What version of the product are you using? On what operating system?
Away3D Version 2.3.3
Flash CS4 Version 10.0
Mac

Please provide any additional information below.
Changing line 385 from:

var _tri_source_lightarray_points:Array = tri.source.lightarray.points;

to:

_tri_source_lightarray_points = tri.source.lightarray.points;

solved the problem, but I'm not sure it's a safe solution.

Original issue reported on code.google.com by frankich...@gmail.com on 13 Apr 2009 at 1:19

GoogleCodeExporter commented 8 years ago
fixed and in trunk

Original comment by rob.bate...@gmail.com on 4 May 2009 at 3:38