Fix for editmode textured draw commit.

This commit is contained in:
Brecht Van Lommel 2007-08-28 08:59:33 +00:00
parent 2b8a8b0508
commit c5fc334996

@ -1187,7 +1187,7 @@ void draw_mesh_textured(Object *ob, DerivedMesh *dm, int faceselect)
}
else {
#endif
if(G.obedit)
if(ob==G.obedit)
dm->drawMappedFacesTex(dm, draw_em_tf_mapped__set_draw, G.editMesh);
else if(faceselect) {
if(G.f & G_WEIGHTPAINT)