[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30057] trunk/blender/source/blender/ blenlib/BLI_path_util.h: File/installation paths: fix path of startup. blend for OSX

Damien Plisson damien.plisson at yahoo.fr
Tue Jul 6 21:42:06 CEST 2010


Revision: 30057
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30057
Author:   damien78
Date:     2010-07-06 21:42:06 +0200 (Tue, 06 Jul 2010)

Log Message:
-----------
File/installation paths: fix path of startup.blend for OSX

Also fix the header file no reinclusion macro name

Thanks to Jens Verwiebe for the patch

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_path_util.h

Modified: trunk/blender/source/blender/blenlib/BLI_path_util.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_path_util.h	2010-07-06 19:26:38 UTC (rev 30056)
+++ trunk/blender/source/blender/blenlib/BLI_path_util.h	2010-07-06 19:42:06 UTC (rev 30057)
@@ -30,8 +30,8 @@
  *
  * ***** END GPL LICENSE BLOCK *****
  */
-#ifndef BLI_UTIL_H
-#define BLI_UTIL_H
+#ifndef BLI_PATH_UTIL_H
+#define BLI_PATH_UTIL_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -102,6 +102,8 @@
 
 #ifdef WIN32
 #define BLENDER_BASE_FORMAT		"%s\\Blender Foundation\\Blender\\%s"
+#elif __APPLE__
+#define BLENDER_BASE_FORMAT			"%s/Blender/%s"
 #else
 #define BLENDER_BASE_FORMAT			"%s/.blender/%s"
 #endif





More information about the Bf-blender-cvs mailing list