fix for own typo r23771, reported as [19621] Weight Paint crashes in rev. 23775

This commit is contained in:
2009-10-12 06:45:55 +00:00
parent 0c0aa79cb9
commit eaadc0685b

View File

@@ -6161,7 +6161,7 @@ void draw_object_backbufsel(Scene *scene, View3D *v3d, RegionView3D *rv3d, Objec
switch( ob->type) {
case OB_MESH:
{
if((ob->mode & OB_MODE_EDIT)==0) {
if(ob->mode & OB_MODE_EDIT) {
Mesh *me= ob->data;
EditMesh *em= me->edit_mesh;