diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-21 19:47:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-21 19:47:41 +0400 |
commit | 4453dc330f94ab0865852145cfab444f05cbd463 (patch) | |
tree | 47384392d69b5af480fe01b344cacf5be74ed96e /source/creator | |
parent | b037d280d31be3aecb05d83a2e692c096b3b8315 (diff) |
remove OS checks to use BLENDERPATH, apple or win32 should be easy to add now.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 523273de9bf..579825b805a 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -122,11 +122,7 @@ char btempdir[FILE_MAXDIR+FILE_MAXFILE]; #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 @@ static void print_help(void) 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 |