forked from bartvdbraak/blender
Fix for movie clips weren't remapped properly on file save
This commit is contained in:
parent
b550cd8c1e
commit
3eaf5e93fd
@ -56,6 +56,7 @@
|
|||||||
#include "DNA_image_types.h"
|
#include "DNA_image_types.h"
|
||||||
#include "DNA_mesh_types.h"
|
#include "DNA_mesh_types.h"
|
||||||
#include "DNA_modifier_types.h"
|
#include "DNA_modifier_types.h"
|
||||||
|
#include "DNA_movieclip_types.h"
|
||||||
#include "DNA_object_fluidsim.h"
|
#include "DNA_object_fluidsim.h"
|
||||||
#include "DNA_object_force.h"
|
#include "DNA_object_force.h"
|
||||||
#include "DNA_object_types.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;
|
break;
|
||||||
|
case ID_MC:
|
||||||
|
{
|
||||||
|
MovieClip *clip= (MovieClip *)id;
|
||||||
|
rewrite_path_fixed(clip->name, visit_cb, absbase, bpath_user_data);
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/* Nothing to do for other IDs that don't contain file paths. */
|
/* Nothing to do for other IDs that don't contain file paths. */
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user