[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23398] trunk/blender/source/creator/ creator.c: remove OS checks to use BLENDERPATH, apple or win32 should be easy to add now.
Campbell Barton
ideasman42 at gmail.com
Mon Sep 21 17:47:41 CEST 2009
Revision: 23398
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23398
Author: campbellbarton
Date: 2009-09-21 17:47:41 +0200 (Mon, 21 Sep 2009)
Log Message:
-----------
remove OS checks to use BLENDERPATH, apple or win32 should be easy to add now.
Modified Paths:
--------------
trunk/blender/source/creator/creator.c
Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c 2009-09-21 14:45:28 UTC (rev 23397)
+++ trunk/blender/source/creator/creator.c 2009-09-21 15:47:41 UTC (rev 23398)
@@ -122,11 +122,7 @@
#define BLENDERPATH ""
#endif
-#if !(defined(__APPLE__) && defined(WIN32))
char blender_path[FILE_MAXDIR+FILE_MAXFILE] = BLENDERPATH;
-#else
-char blender_path[FILE_MAXDIR+FILE_MAXFILE] = "";
-#endif
/* Initialise callbacks for the modules that need them */
static void setCallbacks(void);
@@ -233,12 +229,10 @@
printf (" \t\t passed unchanged. Access via Python's sys.argv\n");
printf ("\nEnvironment Variables:\n");
printf (" $HOME\t\t\tStore files such as .blender/ .B.blend .Bfs .Blog here.\n");
-#if !(defined(__APPLE__) && defined(WIN32))
printf (" $BLENDERPATH\tSystem directory to use for data files and scripts.\n");
printf (" \tFor this build of blender the default BLENDERPATH is...\n");
printf (" \t\"%s\"\n", blender_path);
printf (" \tseting the $BLENDERPATH will override this\n");
-#endif
#ifdef WIN32
printf (" $TEMP\t\tStore temporary files here.\n");
#else
More information about the Bf-blender-cvs
mailing list