diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-08 11:31:02 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-08 11:31:02 +0400 |
commit | 673e26196f3076dd0d04cf4e619e259195e587f1 (patch) | |
tree | b6fe46c3d1c188ece5ce22e1e79fea98a6944667 /source/blender | |
parent | 243304a6231cf86da9d21097c6dd3bfe05acf1f4 (diff) |
Fix #31344: MovieClip python custom properties are reset when reopen the file
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 3 |
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); |