Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-12-04 21:16:22 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-12-04 21:16:22 +0400
commit3eaf5e93fd6625fdcca7fd81e6d5ff202ef8b726 (patch)
treecb946d457d6f3354b4936dab597a4993d01494cd /source/blender/blenlib/intern/bpath.c
parentb550cd8c1e94e649a845b78e6a47c197bcd68766 (diff)
Fix for movie clips weren't remapped properly on file save
Diffstat (limited to 'source/blender/blenlib/intern/bpath.c')
-rw-r--r--source/blender/blenlib/intern/bpath.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c
index 8ad6cfc7cdf..140e1752648 100644
--- a/source/blender/blenlib/intern/bpath.c
+++ b/source/blender/blenlib/intern/bpath.c
@@ -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 @@ void bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int fla
}
}
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;