diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-02-21 11:43:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-02-21 11:43:13 +0300 |
commit | 7c7a931fed41dcf51e2d537a9157c357f0285955 (patch) | |
tree | 956105c8e2ab7f8553bccb963a1630d54dc3d2b0 /source/blender/src/buttons_scene.c | |
parent | 91d44a91249355827b6f135ab6e4fc52bfe926e4 (diff) |
made auto threads default (noob's get faster renders in their dual core CPU's)
changed env variable check order $TMP, $TMPDIR - aparently $TMP is more common.
Diffstat (limited to 'source/blender/src/buttons_scene.c')
-rw-r--r-- | source/blender/src/buttons_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c index da5f2817e4e..5cff2ee1608 100644 --- a/source/blender/src/buttons_scene.c +++ b/source/blender/src/buttons_scene.c @@ -2023,8 +2023,8 @@ static void render_panel_output(void) uiBlockEndAlign(block); uiBlockBeginAlign(block); - uiDefIconButBitI(block, TOG, R_AUTO_THREADS, B_REDR, ICON_AUTO, 10, 63, 20, 20, &G.scene->r.mode, 0.0, 0.0, 0, 0, "Automatically set the threads to the number of processors on the system"); - if (G.scene->r.mode & R_AUTO_THREADS) { + uiDefIconButBitI(block, TOGN, R_FIXED_THREADS, B_REDR, ICON_AUTO, 10, 63, 20, 20, &G.scene->r.mode, 0.0, 0.0, 0, 0, "Automatically set the threads to the number of processors on the system"); + if ((G.scene->r.mode & R_FIXED_THREADS)==0) { char thread_str[16]; sprintf(thread_str, " Threads: %d", BLI_system_thread_count()); uiDefBut(block, LABEL, 0, thread_str, 30, 63,80,20, 0, 0, 0, 0, 0, ""); |