bigosmallm / papervision3d

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

DAE parser doesn't sets name property of a parsed material before storing it... #258

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. load up a model:DAE with default BitmapMaterials in papervision...
2. try to get a reference by model.materials.getMaterialByName("MATERIAL_NAME")
3.

What is the expected output? What do you see instead?
Should get reference to material...
DAE parser doesn't sets name property of a parsed material before storing it...

What version of the product are you using? On what operating system?
Papervision3D_2.1.932
Linux - Ubuntu 8.10
Adobe Flex GUMBO (flex_sdk_4.0.0.10339)

Please provide any additional information below.
One line fix/patch:
put in
http://code.google.com/p/papervision3d/source/browse/trunk/branches/fp10/src/org
/papervision3d/objects/parsers/DAE.as#1028
material.name = daeInstanceMaterial.target;

Original issue reported on code.google.com by daniels...@gmail.com on 21 Feb 2010 at 3:21