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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-05-08 11:31:02 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-05-08 11:31:02 +0400
commit673e26196f3076dd0d04cf4e619e259195e587f1 (patch)
treeb6fe46c3d1c188ece5ce22e1e79fea98a6944667 /source
parent243304a6231cf86da9d21097c6dd3bfe05acf1f4 (diff)
Fix #31344: MovieClip python custom properties are reset when reopen the file
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/writefile.c3
1 files changed, 3 insertions, 0 deletions
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);