Cleanup: unused defines

This commit is contained in:
Campbell Barton 2017-07-01 20:19:12 +10:00
parent 49a35033be
commit 3de5370e9d
4 changed files with 1 additions and 12 deletions

View File

@ -432,8 +432,6 @@ static void manipulator_dial_invoke(
*
* \{ */
#define ASSERT_TYPE_CHECK(mpr) BLI_assert(mpr->type->draw == manipulator_dial_draw)
static void MANIPULATOR_WT_dial_3d(wmManipulatorType *wt)
{
/* identifiers */

View File

@ -78,7 +78,6 @@ typedef struct GrabInteraction {
} output;
} GrabInteraction;
#define DIAL_WIDTH 1.0f
#define DIAL_RESOLUTION 32
/* -------------------------------------------------------------------- */
@ -223,8 +222,6 @@ static void manipulator_grab_invoke(
*
* \{ */
#define ASSERT_TYPE_CHECK(mpr) BLI_assert(mpr->type->draw == manipulator_grab_draw)
static void MANIPULATOR_WT_grab_3d(wmManipulatorType *wt)
{
/* identifiers */

View File

@ -56,9 +56,6 @@
#include "../blenlib/BLI_sys_types.h" // for intptr_t support
/* Allow includinsg DNA files for specially guarded namespaces */
#define DNA_NAMESPACE
#define SDNA_MAX_FILENAME_LENGTH 255

View File

@ -45,9 +45,6 @@
#include "wm_manipulator_wmapi.h"
#include "wm_manipulator_intern.h"
/* factor for precision tweaking */
#define MANIPULATOR_PRECISION_FAC 0.05f
/* -------------------------------------------------------------------- */
/** \name Property Definition
@ -274,4 +271,4 @@ void WM_manipulatortype_target_property_def(
BLI_addtail(&wt->target_property_defs, mpt);
}
/** \} */
/** \} */