diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-04-13 02:17:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-04-13 02:17:23 +0400 |
commit | e17b13d9d283bcf2536fb49c86252cb04f3170fc (patch) | |
tree | 858da7ff0053ebba7e742e8719486c6fc9abf99e | |
parent | d0d4604dad26a9e0039100b627bfa245c788cb57 (diff) |
Made octree size always available since its used for baking.
Documented obscure environment variables
-rw-r--r-- | source/blender/src/buttons_scene.c | 3 | ||||
-rw-r--r-- | source/creator/creator.c | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c index a2678829fc3..fde365adeaf 100644 --- a/source/blender/src/buttons_scene.c +++ b/source/blender/src/buttons_scene.c @@ -2191,8 +2191,7 @@ static void render_panel_render(void) uiDefButS(block, ROW,800,"Key", 456,13,35,20,&G.scene->r.alphamode,3.0,2.0, 0, 0, "Alpha and color values remain unchanged"); uiBlockEndAlign(block); - if(G.scene->r.mode & R_RAYTRACE) - uiDefButS(block, MENU, B_DIFF,"Octree resolution %t|64 %x64|128 %x128|256 %x256|512 %x512", 496,13,64,20,&G.scene->r.ocres,0.0,0.0, 0, 0, "Octree resolution for ray tracing"); + uiDefButS(block, MENU, B_DIFF,"Octree resolution %t|64 %x64|128 %x128|256 %x256|512 %x512", 496,13,64,20,&G.scene->r.ocres,0.0,0.0, 0, 0, "Octree resolution for ray tracing and baking, Use higher values for complex scenes"); uiBlockBeginAlign(block); uiDefButBitI(block, TOG, R_SHADOW, B_REDR,"Shadow", 565,172,52,29, &G.scene->r.mode, 0, 0, 0, 0, "Enable shadow calculation"); diff --git a/source/creator/creator.c b/source/creator/creator.c index 806a8c108c0..a1d837d5b6b 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -230,6 +230,18 @@ static void print_help(void) printf (" -v\t\tPrint Blender version and exit\n"); printf (" --\t\tEnds option processing. Following arguments are \n"); printf (" \t\t passed unchanged. Access via Python's sys.argv\n"); + printf ("\nEnironment Variables:\n"); + printf (" $HOME\t\t\tStore files such as .blender/ .B.blend .Bfs .Blog here.\n"); +#ifdef WIN32 + printf (" $TEMP\t\tStore temporary files here.\n"); +#else + printf (" $TMP or $TMPDIR\tStore temporary files here.\n"); + printf (" $SDL_AUDIODRIVER\tLibSDL audio driver - alsa, esd, alsa, dma.\n"); + printf (" $BF_TIFF_LIB\t\tUse an alternative libtiff.so for loading tiff image files.\n"); +#endif + printf (" $IMAGEEDITOR\t\tImage editor executable, launch with the IKey from the file selector.\n"); + printf (" $WINEDITOR\t\tText editor executable, launch with the EKey from the file selector.\n"); + printf (" $PYTHONHOME\t\tPath to the python directory, eg. /usr/lib/python.\n"); printf ("\nNote: Arguments must be separated by white space. eg:\n"); printf (" \"blender -ba test.blend\"\n"); printf (" ...will ignore the 'a'\n"); |