fix for own typo r23771, reported as [19621] Weight Paint crashes in rev. 23775
authorCampbell Barton <ideasman42@gmail.com>
Mon, 12 Oct 2009 06:45:55 +0000 (06:45 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 12 Oct 2009 06:45:55 +0000 (06:45 +0000)
source/blender/editors/space_view3d/drawobject.c

index 9e773298d4aea7f04ebf4db54e7d3096626509c9..096129f6f9ef2e89f165b9510adaab3f996f90c0 100644 (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;