[Bf-blender-cvs] [ebad51f] master: Fix bad typo in undo code that invalidated all image caches on undo.
Antony Riakiotakis
noreply at git.blender.org
Thu Oct 16 20:07:56 CEST 2014
Commit: ebad51fd0bda988f4d7bca0d9cb905ff2fc95019
Author: Antony Riakiotakis
Date: Thu Oct 16 20:07:44 2014 +0200
Branches: master
https://developer.blender.org/rBebad51fd0bda988f4d7bca0d9cb905ff2fc95019
Fix bad typo in undo code that invalidated all image caches on undo.
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index aea3596..96d9371 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;
More information about the Bf-blender-cvs
mailing list