Revision: 44013
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44013
Author:   campbellbarton
Date:     2012-02-10 06:26:16 +0000 (Fri, 10 Feb 2012)
Log Message:
-----------
fix flushing issue when using linked selection picking in editmode.

- existing selections that should be un-effected would get incorrectly flushed

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/editors/mesh/bmesh_select.c

Modified: branches/bmesh/blender/source/blender/editors/mesh/bmesh_select.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/mesh/bmesh_select.c   
2012-02-10 06:20:10 UTC (rev 44012)
+++ branches/bmesh/blender/source/blender/editors/mesh/bmesh_select.c   
2012-02-10 06:26:16 UTC (rev 44013)
@@ -1797,20 +1797,9 @@
 
                e = BMW_Begin(&walker, eed->v1);
                for (; e; e=BMW_Step(&walker)) {
-                               BM_Select(bm, e->v1, sel);
-                               BM_Select(bm, e->v2, sel);
+                       BM_Select(bm, e, sel);
                }
                BMW_End(&walker);
-
-               /* BMESH_TODO, see trunks 'select_linked_pick_invoke' this uses 
'f1' flag and does its own flushing
-                * the problem with calling selectmode flush below is that it 
will select edges from parts
-                * of the mesh that didnt change, perhaps we should have 
selection flushing functions that only check
-                * tagged geometry.
-                * For now I dont think this is a showstopper - campbell */
-
-               /* now use vertex select flag to select rest */
-               EDBM_selectmode_flush_ex(em, SCE_SELECT_VERTEX);
-
        }
 
        WM_event_add_notifier(C, NC_GEOM|ND_SELECT, obedit);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to