diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-07 22:24:02 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-07 22:24:02 +0400 |
commit | f234b44d474ad45e07e4a9b2416a19a37c2e35ee (patch) | |
tree | 90482479c494adf505234952a13e09893fffa78e /source/blender/src/editoops.c | |
parent | 39b1ceb66915b851b06bd544aa7b476a6a1010a2 (diff) |
- another huge commit! read this!
- removed src/buttons.c and include/BIF_buttons.h
- added src/buttons.txt, which is the old buttons.c for review and adding
code to new panels structure
- changed internal events to match new buttonspace structure
- added tabs for new shading group of buttons
- removed loads of little warnings, -Wall now compiles src/ almost without
error (hint: setenv NAN_QUIET to see it all better)
Now I'm ready to do actual buttons -> panels conversion. I will do the raw
versions first, others then can cleanup
Diffstat (limited to 'source/blender/src/editoops.c')
-rw-r--r-- | source/blender/src/editoops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editoops.c b/source/blender/src/editoops.c index 562931c0a99..fb87b7cb849 100644 --- a/source/blender/src/editoops.c +++ b/source/blender/src/editoops.c @@ -32,6 +32,7 @@ #include <stdlib.h> #include <math.h> +#include <string.h> #ifdef HAVE_CONFIG_H #include <config.h> @@ -418,7 +419,7 @@ static void do_activate_oops(Oops *oops) ob= OBACT; if(ob && oops->id) { assign_material(ob, (Material *)oops->id, ob->actcol); - allqueue(REDRAWBUTSMAT, 0); + allqueue(REDRAWBUTSSHADING, 0); scrarea_queue_winredraw(curarea); } break; |