A couple of small fixes...
I removed config.h code from the files that had them. effect.c had nested /* so cleaned that up... added a newline to vector.c to shut gcc up ;) buttons_editing.c had a possible unintalized var (height) so I gave it a default value. removed an unused var i in interface_draw.c removed an unused var mti in outliner.c in BL_SkinDeformer.cpp commented out a call to bDeformGroup->data which no longer exists so it compiles again. Kent
This commit is contained in:
@@ -35,10 +35,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifndef snprintf
|
||||
#define snprintf _snprintf
|
||||
@@ -808,7 +804,8 @@ static void draw_modifier(uiBlock *block, Object *ob, ModifierData *md, int *xco
|
||||
ModifierTypeInfo *mti = modifierType_getInfo(md->type);
|
||||
int isVirtual = md->mode&eModifierMode_Virtual;
|
||||
int x = *xco, y = *yco, color = md->error?TH_REDALERT:TH_BUT_NEUTRAL;
|
||||
short height, width = 295;
|
||||
short height = 86;
|
||||
short width = 295;
|
||||
char str[128];
|
||||
uiBut *but;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user