Revision: 32504
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32504
Author:   jesterking
Date:     2010-10-15 16:56:31 +0200 (Fri, 15 Oct 2010)

Log Message:
-----------
Fix COLLADA import after recent API cleanups by Campbell.

Modified Paths:
--------------
    trunk/blender/source/blender/collada/DocumentImporter.cpp

Modified: trunk/blender/source/blender/collada/DocumentImporter.cpp
===================================================================
--- trunk/blender/source/blender/collada/DocumentImporter.cpp   2010-10-15 
14:52:47 UTC (rev 32503)
+++ trunk/blender/source/blender/collada/DocumentImporter.cpp   2010-10-15 
14:56:31 UTC (rev 32504)
@@ -807,7 +807,7 @@
                
                BLI_split_dirfile(filename, dir, NULL);
                BLI_join_dirfile(full_path, dir, filepath.c_str());
-               Image *ima = BKE_add_image_file(full_path, 0);
+               Image *ima = BKE_add_image_file(full_path);
                if (!ima) {
                        fprintf(stderr, "Cannot create image. \n");
                        return true;


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to