[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34660] trunk/blender/source/blender/ editors/space_image/image_ops.c: Bugfix #25944

Ton Roosendaal ton at blender.org
Sat Feb 5 17:32:56 CET 2011


Revision: 34660
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34660
Author:   ton
Date:     2011-02-05 16:32:56 +0000 (Sat, 05 Feb 2011)
Log Message:
-----------
Bugfix #25944

Save image (F3) didn't remember the last saved path on 2nd use.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_image/image_ops.c

Modified: trunk/blender/source/blender/editors/space_image/image_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_image/image_ops.c	2011-02-05 15:11:29 UTC (rev 34659)
+++ trunk/blender/source/blender/editors/space_image/image_ops.c	2011-02-05 16:32:56 UTC (rev 34660)
@@ -874,6 +874,8 @@
 		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);
 




More information about the Bf-blender-cvs mailing list