Revision: 14823
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14823
Author:   briggs
Date:     2008-05-13 04:22:57 +0200 (Tue, 13 May 2008)

Log Message:
-----------
-> Fix for bug in 'Select Non-Manifold'

Select non-manifold would select stray vertices even when in
non-vertex modes. Fixed.

Modified Paths:
--------------
    trunk/blender/source/blender/src/editmesh_mods.c

Modified: trunk/blender/source/blender/src/editmesh_mods.c
===================================================================
--- trunk/blender/source/blender/src/editmesh_mods.c    2008-05-13 00:42:51 UTC 
(rev 14822)
+++ trunk/blender/source/blender/src/editmesh_mods.c    2008-05-13 02:22:57 UTC 
(rev 14823)
@@ -3187,12 +3187,14 @@
        }
 
        /* select isolated verts */
-       eve= em->verts.first;
-       while(eve) {
-               if (eve->f1 == 0) {
-                       if (!eve->h) eve->f |= SELECT;
+       if(G.scene->selectmode & SCE_SELECT_VERTEX) {
+               eve= em->verts.first;
+               while(eve) {
+                       if (eve->f1 == 0) {
+                               if (!eve->h) eve->f |= SELECT;
+                       }
+                       eve= eve->next;
                }
-               eve= eve->next;
        }
 
        countall();


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to