Cleanup of blender/ module; Makefiles now compile this warning free.
Mostly was unused variables, unused functions, missing prototypes and missing include files.
This commit is contained in:
@@ -48,9 +48,9 @@ extern void mat3_to_vec_roll(float mat[][3], float *vec, float *roll);
|
||||
//------------------------ERROR CODES---------------------------------
|
||||
//This is here just to make me happy and to have more consistant error strings :)
|
||||
static const char sEditBoneError[] = "EditBone - Error: ";
|
||||
static const char sEditBoneBadArgs[] = "EditBone - Bad Arguments: ";
|
||||
// static const char sEditBoneBadArgs[] = "EditBone - Bad Arguments: ";
|
||||
static const char sBoneError[] = "Bone - Error: ";
|
||||
static const char sBoneBadArgs[] = "Bone - Bad Arguments: ";
|
||||
// static const char sBoneBadArgs[] = "Bone - Bad Arguments: ";
|
||||
|
||||
//----------------------(internal)
|
||||
//gets the bone->roll (which is a localspace roll) and puts it in parentspace
|
||||
|
||||
@@ -522,8 +522,8 @@ static PyObject *Material_getColorComponent( BPy_Material * self,
|
||||
static PyObject *Material_getOopsLoc( BPy_Material * self );
|
||||
static PyObject *Material_getOopsSel( BPy_Material * self );
|
||||
static PyObject *Material_getUsers( BPy_Material * self );
|
||||
static int Material_setSeptex( BPy_Material * self, PyObject * value );
|
||||
static PyObject *Material_getSeptex( BPy_Material * self );
|
||||
//static int Material_setSeptex( BPy_Material * self, PyObject * value );
|
||||
//static PyObject *Material_getSeptex( BPy_Material * self );
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Python BPy_Material methods declarations: */
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
#include "BKE_depsgraph.h"
|
||||
|
||||
#include "BLI_arithb.h"
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
#include "blendef.h"
|
||||
#include "mydevice.h"
|
||||
|
||||
@@ -72,11 +72,14 @@ struct rctf;
|
||||
#include "BIF_drawscene.h"
|
||||
#include "BIF_meshtools.h"
|
||||
#include "BIF_editarmature.h"
|
||||
#include "BIF_editaction.h"
|
||||
#include "BIF_editnla.h"
|
||||
|
||||
#include "BLI_arithb.h"
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
#include "BDR_editobject.h"
|
||||
#include "BDR_editcurve.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
||||
@@ -57,11 +57,11 @@ extern void chan_calc_mat(bPoseChannel *chan);
|
||||
//------------------------ERROR CODES---------------------------------
|
||||
//This is here just to make me happy and to have more consistant error strings :)
|
||||
static const char sPoseError[] = "Pose - Error: ";
|
||||
static const char sPoseBadArgs[] = "Pose - Bad Arguments: ";
|
||||
//static const char sPoseBadArgs[] = "Pose - Bad Arguments: ";
|
||||
static const char sPoseBoneError[] = "PoseBone - Error: ";
|
||||
static const char sPoseBoneBadArgs[] = "PoseBone - Bad Arguments: ";
|
||||
//static const char sPoseBoneBadArgs[] = "PoseBone - Bad Arguments: ";
|
||||
static const char sPoseBonesDictError[] = "PoseBone - Error: ";
|
||||
static const char sPoseBonesDictBadArgs[] = "PoseBone - Bad Arguments: ";
|
||||
//static const char sPoseBonesDictBadArgs[] = "PoseBone - Bad Arguments: ";
|
||||
|
||||
//################## PoseBonesDict_Type (internal) ########################
|
||||
/*This is an internal psuedo-dictionary type that allows for manipulation
|
||||
|
||||
Reference in New Issue
Block a user