Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-11-28 13:16:24 +0300
committerTon Roosendaal <ton@blender.org>2006-11-28 13:16:24 +0300
commitc1258980a4ac39d0b4b260c1ddc359c1675a3b25 (patch)
tree0247fff5620fd62702988633d14cf9f6e469108f /source/blender/src/interface.c
parent859dc7918b60965efa420813309d7adbc97f3ba8 (diff)
Render Baking upgrade:
- Now baking itself is threaded too (like for render, max 2 cpus. Moving this to 4 cpus is on todo. Goes twice as fast! - fix: ESC from bake was broken... - other fix: toolbox menus didn't treat sublevel string lengths OK, truncating items like for Group library names.
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r--source/blender/src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index cb1230e3993..5bbca65c4c5 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -5467,7 +5467,7 @@ void ui_check_but(uiBut *but)
}
if(but->strwidth==0) but->drawstr[0]= 0;
- else if(but->type==BUTM); // clip string
+ else if(but->type==BUTM || but->type==BLOCK); // no clip string, uiTextBoundsBlock is used (hack!)
else {
/* calc but->ofs, to draw the string shorter if too long */