diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-20 15:34:25 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-20 15:34:25 +0400 |
commit | dde84e32915d2f3c2cea85a2d9116c237e3c4b0d (patch) | |
tree | 89f4d419437795eec33e979d906be5cfb38acc90 /source | |
parent | 6d5cf584468c0a9453c8888fa5bf96c7b9fcabd1 (diff) |
Fix #29322: 'Active Clip' not saving after appending.
Address for active clip used to be updated in direct scene linking,
should be in library linking.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 4a530be58db..b1ddb894e67 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4726,6 +4726,9 @@ static void lib_link_scene(FileData *fd, Main *main) /*Game Settings: Dome Warp Text*/ sce->gm.dome.warptext= newlibadr(fd, sce->id.lib, sce->gm.dome.warptext); + /* Motion Tracking */ + sce->clip= newlibadr_us(fd, sce->id.lib, sce->clip); + sce->id.flag -= LIB_NEEDLINK; } @@ -4929,8 +4932,6 @@ static void direct_link_scene(FileData *fd, Scene *sce) sce->nodetree= newdataadr(fd, sce->nodetree); if(sce->nodetree) direct_link_nodetree(fd, sce->nodetree); - - sce->clip= newlibadr_us(fd, sce->id.lib, sce->clip); } /* ************ READ WM ***************** */ |