From 673e26196f3076dd0d04cf4e619e259195e587f1 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 8 May 2012 07:31:02 +0000 Subject: [PATCH] Fix #31344: MovieClip python custom properties are reset when reopen the file --- source/blender/blenloader/intern/writefile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index dcae11ff2e1..91ce94ae6ed 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -2696,6 +2696,9 @@ static void write_movieclips(WriteData *wd, ListBase *idbase) MovieTrackingObject *object; writestruct(wd, ID_MC, "MovieClip", 1, clip); + if (clip->id.properties) + IDP_WriteProperty(clip->id.properties, wd); + if (clip->adt) write_animdata(wd, clip->adt);