diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-10-16 22:07:44 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-10-16 22:07:44 +0400 |
commit | ebad51fd0bda988f4d7bca0d9cb905ff2fc95019 (patch) | |
tree | b6b4ff19251468a27dd6f5f60c4c3ac740d4cbda /source | |
parent | 0750e4c4c7eee9ad8f57ebf1243960bd46c7c1f9 (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 aea35963269..96d93712251 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; |