Probably because your mtl holds more than just bitmapmaterial def

Fabrice


On Apr 20, 2010, at 12:06 AM, tictox wrote:

> Hi All
> 
> Eventually started learning some Away3D today again ;)
> 
> I had a problem with my textures not loading with any OBJ files I
> tried that I have had had working in Alternativa before this .. so I
> updated my svn and am using the fp10 branch and still no luck so I
> decided to dig into the code and trace everything until I found out
> something and tracked it done to Loader3D class line 115 :
> 
> if (_materialData.materialType == MaterialData.TEXTURE_MATERIAL && !
> _materialData.material)
> 
> I removed the second condition in this if statement - "!
> _materialData.material" If you trace this variable it has a value of
> "[object WireColorMaterial]".
> 
> Now all my OBJ files load just fine.
> 
> any ideas what is going on here.?
> 
> 
> -- 
> Subscription settings: 
> http://groups.google.com/group/away3d-dev/subscribe?hl=en

Reply via email to