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:
authorTon Roosendaal <ton@blender.org>2005-01-16 14:29:44 +0300
committerTon Roosendaal <ton@blender.org>2005-01-16 14:29:44 +0300
commit9c6094ee0e26dee4e038de42b3740a61c1d9024d (patch)
tree0daf4534ebbf8d9430536fba43e1f360c510f1ba /source/blender/src/header_info.c
parentdd0d5c26fa0f1c9ec9be513d5af52985c243a877 (diff)
Fix for bug #2152
Using File->Save Image menu didn't work while Stars were drawn... the used method to save an image (mainqenter F3 key) is a bit awkward anyway, so replaced with proper BIF_xxx call. Reason for mainqenter not to work was RE_draw_stars() function calling a blender_test_break(), swallowing queue events. Very bad and need review. Small tweak in previewrender; preview type Cube now displays texture coordinates better (it showed a bit too much)
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r--source/blender/src/header_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c
index 3221115931e..5ef7fc7a2dd 100644
--- a/source/blender/src/header_info.c
+++ b/source/blender/src/header_info.c
@@ -850,7 +850,7 @@ static void do_info_filemenu(void *arg, int event)
}
break;
case 6: /* save image */
- mainqenter(F3KEY, 1);
+ BIF_save_rendered_image();
break;
case 22: /* save runtime */
activate_fileselect(FILE_SPECIAL, "Save Runtime", "", write_runtime_check);