Permalink
Browse files

fix null filename, 3dsMax 11 - Feeling ColladaMax v3.05B.

git-svn-id: https://away3d.googlecode.com/svn/trunk/fp9/Away3D@2215 6da1ee2c-932f-0410-8bb4-73b2b089c45a
  • Loading branch information...
katopz committed Feb 10, 2010
1 parent 973bd4f commit 3a3144a5e236a88f31eb45fe5a1262be558d5d45
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/away3d/loaders/Collada.as
@@ -1094,7 +1094,11 @@
var image:XML = collada["library_images"].image.(@id == imageId)[0];
- filename = image["init_from"];
+ //3dsMax 11 - Feeling ColladaMax v3.05B.
+ if(!image)
+ filename = collada["library_images"].image.init_from.text();
+ else
+ filename = image["init_from"];
if (filename.substr(0, 2) == "./")
{

0 comments on commit 3a3144a

Please sign in to comment.