patch [#28554] BMesh: fix for 28553
authorCampbell Barton <ideasman42@gmail.com>
Thu, 8 Sep 2011 10:06:28 +0000 (10:06 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 8 Sep 2011 10:06:28 +0000 (10:06 +0000)
from Andrew Wiggin (ender79)

source/blender/bmesh/operators/utils.c

index cf08ff0b3d0f8800e9d64b105da210833afae657..daa60c640cd99f0de4bffc64592b3ed6d3721b5c 100644 (file)
@@ -927,7 +927,7 @@ void bmesh_similarverts_exec(BMesh *bm, BMOperator *op)
                                switch( type ) {
                                case SIMVERT_NORMAL:
                                        /* compare the angle between the normals */
                                switch( type ) {
                                case SIMVERT_NORMAL:
                                        /* compare the angle between the normals */
-                                       if( RAD2DEGF(angle_v3v3(v->no, vs->no) / 180.0f <= thresh )) {
+                                       if( RAD2DEGF(angle_v3v3(v->no, vs->no)) / 180.0f <= thresh ) {
                                                BMO_SetFlag(bm, v, VERT_MARK);
                                                cont = 0;
                                        }
                                                BMO_SetFlag(bm, v, VERT_MARK);
                                                cont = 0;
                                        }