diff options
author | Ton Roosendaal <ton@blender.org> | 2011-02-05 19:32:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-02-05 19:32:56 +0300 |
commit | 6011bac9896644a2b942f1a87cc5348ccec94944 (patch) | |
tree | 2fd0c6c7a1b98cefb2eb1e69b9121eb565227a6d /source/blender/editors | |
parent | dbce60448f3bd3cee291a482986740507fcce0f5 (diff) |
Bugfix #25944
Save image (F3) didn't remember the last saved path on 2nd use.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index f5675ebfbe8..a0fda09c92b 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -874,6 +874,8 @@ static void save_image_doit(bContext *C, SpaceImage *sima, Scene *scene, wmOpera short ok= FALSE; BLI_path_abs(path, bmain->name); + /* old global to ensure a 2nd save goes to same dir */ + BLI_strncpy(G.ima, path, sizeof(G.ima)); WM_cursor_wait(1); |