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
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-10-16 22:07:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-21 14:14:25 +0400
commitd572a5d4a85958914dcb4bd2909ab891b08d939b (patch)
treee7434ebf86be4c502a4ef525a96ee7438e8d5b08 /source/blender
parent6a44865d2e46cb74b3ed4399137ce66bb84e3e90 (diff)
Fix bad typo in undo code that invalidated all image caches on undo.
Diffstat (limited to 'source/blender')
-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 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;