Draw manager: Don't check matrix to be non-NULL

It isn't a pointer, so the check was confusing and totally redundant.
This commit is contained in:
Sergey Sharybin
2017-06-13 12:16:39 +02:00
parent 56ad2f0f1a
commit 4c6cb33764

View File

@@ -1788,7 +1788,7 @@ static void draw_shgroup(DRWShadingGroup *shgroup, DRWState pass_state)
}
else {
for (DRWCall *call = shgroup->calls.first; call; call = call->head.next) {
bool neg_scale = call->obmat && is_negative_m4(call->obmat);
bool neg_scale = is_negative_m4(call->obmat);
/* Negative scale objects */
if (neg_scale) {