Cleanup: warnings
This commit is contained in:
@@ -251,6 +251,7 @@ static int manipulator_select_invoke(bContext *C, wmOperator *op, const wmEvent
|
|||||||
if (extend == false && deselect == false && toggle == false) {
|
if (extend == false && deselect == false && toggle == false) {
|
||||||
wm_manipulatormap_deselect_all(mmap);
|
wm_manipulatormap_deselect_all(mmap);
|
||||||
BLI_assert(msel->items == NULL && msel->len == 0);
|
BLI_assert(msel->items == NULL && msel->len == 0);
|
||||||
|
UNUSED_VARS_NDEBUG(msel);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (highlight) {
|
if (highlight) {
|
||||||
|
|||||||
@@ -770,7 +770,6 @@ static RAS_MeshSlot *current_ms;
|
|||||||
static RAS_MeshObject *current_mesh;
|
static RAS_MeshObject *current_mesh;
|
||||||
static int current_blmat_nr;
|
static int current_blmat_nr;
|
||||||
static GPUVertexAttribs current_gpu_attribs;
|
static GPUVertexAttribs current_gpu_attribs;
|
||||||
static Image *current_image;
|
|
||||||
static int CheckMaterialDM(int matnr, void *attribs)
|
static int CheckMaterialDM(int matnr, void *attribs)
|
||||||
{
|
{
|
||||||
// only draw the current material
|
// only draw the current material
|
||||||
|
|||||||
Reference in New Issue
Block a user