Revision: 42412
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42412
Author:   nazgul
Date:     2011-12-04 17:16:22 +0000 (Sun, 04 Dec 2011)
Log Message:
-----------
Fix for movie clips weren't remapped properly on file save

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/intern/bpath.c

Modified: trunk/blender/source/blender/blenlib/intern/bpath.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/bpath.c 2011-12-04 17:12:10 UTC 
(rev 42411)
+++ trunk/blender/source/blender/blenlib/intern/bpath.c 2011-12-04 17:16:22 UTC 
(rev 42412)
@@ -56,6 +56,7 @@
 #include "DNA_image_types.h"
 #include "DNA_mesh_types.h"
 #include "DNA_modifier_types.h"
+#include "DNA_movieclip_types.h"
 #include "DNA_object_fluidsim.h"
 #include "DNA_object_force.h"
 #include "DNA_object_types.h"
@@ -542,6 +543,12 @@
                        }
                }
                break;
+       case ID_MC:
+               {
+                       MovieClip *clip= (MovieClip *)id;
+                       rewrite_path_fixed(clip->name, visit_cb, absbase, 
bpath_user_data);
+               }
+               break;
        default:
                /* Nothing to do for other IDs that don't contain file paths. */
                break;

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

Reply via email to