DRW: Fix warnings in Release Build.
This commit is contained in:
@@ -173,6 +173,7 @@ bool DRW_object_is_flat_normal(const Object *ob)
|
||||
int DRW_object_is_mode_shade(const Object *ob)
|
||||
{
|
||||
BLI_assert(ob == DST.draw_ctx.obact);
|
||||
UNUSED_VARS_NDEBUG(ob);
|
||||
if ((DST.draw_ctx.object_mode & OB_MODE_EDIT) == 0) {
|
||||
if (DST.draw_ctx.object_mode & (OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT | OB_MODE_TEXTURE_PAINT)) {
|
||||
if ((DST.draw_ctx.v3d->flag2 & V3D_SHOW_MODE_SHADE_OVERRIDE) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user