Correct invalid assert use

This commit is contained in:
2017-07-24 17:32:09 +10:00
parent 9e929c911e
commit f65a8bbdb7
2 changed files with 2 additions and 2 deletions

View File

@@ -710,7 +710,7 @@ static bool gp_brush_randomize_apply(tGP_BrushEditData *gso, bGPDstroke *gps, in
}
else {
/* ERROR */
BLI_assert("3D stroke being sculpted in non-3D view");
BLI_assert(!"3D stroke being sculpted in non-3D view");
}
}
else {

View File

@@ -1818,7 +1818,7 @@ static void paste_mtex_copybuf(ID *id)
mtex = &(((FreestyleLineStyle *)id)->mtex[(int)((FreestyleLineStyle *)id)->texact]);
break;
default:
BLI_assert("invalid id type");
BLI_assert(!"invalid id type");
return;
}