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:
authorAntony Riakiotakis <kalast@gmail.com>2014-10-16 22:07:44 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-10-16 22:07:44 +0400
commitebad51fd0bda988f4d7bca0d9cb905ff2fc95019 (patch)
treeb6b4ff19251468a27dd6f5f60c4c3ac740d4cbda /source
parent0750e4c4c7eee9ad8f57ebf1243960bd46c7c1f9 (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.c2
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;