diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-10-16 22:07:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-21 14:14:25 +0400 |
commit | d572a5d4a85958914dcb4bd2909ab891b08d939b (patch) | |
tree | e7434ebf86be4c502a4ef525a96ee7438e8d5b08 /source | |
parent | 6a44865d2e46cb74b3ed4399137ce66bb84e3e90 (diff) |
Fix bad typo in undo code that invalidated all image caches on undo.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 7aadf4a51ea..aec174e0073 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -3305,7 +3305,7 @@ static void direct_link_image(FileData *fd, Image *ima) { /* for undo system, pointers could be restored */ if (fd->imamap) - ima->cache = newmclipadr(fd, ima->cache); + ima->cache = newimaadr(fd, ima->cache); else ima->cache = NULL; |