[Bf-blender-cvs] [d572a5d] blender-v2.72-release: Fix bad typo in undo code that invalidated all image caches on undo.
Antony Riakiotakis
noreply at git.blender.org
Tue Oct 21 12:14:34 CEST 2014
Commit: d572a5d4a85958914dcb4bd2909ab891b08d939b
Author: Antony Riakiotakis
Date: Thu Oct 16 20:07:44 2014 +0200
Branches: blender-v2.72-release
https://developer.blender.org/rBd572a5d4a85958914dcb4bd2909ab891b08d939b
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 7aadf4a..aec174e 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