[Bf-committers] Pacth: Image Replace not replacing
Carsten Wartmann
bf-committers@blender.org
Wed, 7 Apr 2004 15:22:48 +0200
--DIRYStHNX9
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit
Hi,
the "Replace..." was not working anymore, acting as "Load..".
Regards,
Carsten.
Here is the patch:
--DIRYStHNX9
Content-Type: text/plain
Content-Description: ImageReplace patch
Content-Disposition: inline;
filename="patchImageReplace.txt"
Content-Transfer-Encoding: 7bit
Index: source/blender/src/header_image.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/src/header_image.c,v
retrieving revision 1.13
diff -u -p -r1.13 header_image.c
--- source/blender/src/header_image.c 5 Apr 2004 13:22:55 -0000 1.13
+++ source/blender/src/header_image.c 7 Apr 2004 13:19:17 -0000
@@ -562,9 +561,9 @@ static void do_image_imagemenu(void *arg
else strcpy(name, U.textudir);
if(G.qual==LR_CTRLKEY)
- activate_imageselect(FILE_SPECIAL, "Replace Image", name, load_space_image);
+ activate_imageselect(FILE_SPECIAL, "Replace Image", name, replace_space_image);
else
- activate_fileselect(FILE_SPECIAL, "Replace Image", name, load_space_image);
+ activate_fileselect(FILE_SPECIAL, "Replace Image", name, replace_space_image);
break;
case 2: /* Pack Image */
ima = G.sima->image;
--DIRYStHNX9--