code cleanup: remove paranoid NULL checks (these cases would crash earlier of the...
[blender.git] / source / blender / editors / space_view3d / drawmesh.c
index 6e42380fbce0994b1e665deaf50dd4004ef3265e..895b256ab84d723fcd166e9a471d81b338a8a13f 100644 (file)
@@ -507,7 +507,7 @@ static void update_tface_color_layer(DerivedMesh *dm)
                                        finalCol[i * 4 + j].r = 255;
                                }
                }
-               else if (tface && mface && set_draw_settings_cached(0, tface, ma, Gtexdraw)) {
+               else if (tface && set_draw_settings_cached(0, tface, ma, Gtexdraw)) {
                        for (j = 0; j < 4; j++) {
                                finalCol[i * 4 + j].b = 255;
                                finalCol[i * 4 + j].g = 0;