Revision: 21661
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21661
Author: joeedh
Date: 2009-07-17 13:28:44 +0200 (Fri, 17 Jul 2009)
Log Message:
-----------
. . .and I forgot this check
Modified Paths:
--------------
branches/bmesh/blender/source/blender/bmesh/operators/subdivideop.c
Modified: branches/bmesh/blender/source/blender/bmesh/operators/subdivideop.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/subdivideop.c
2009-07-17 11:15:06 UTC (rev 21660)
+++ branches/bmesh/blender/source/blender/bmesh/operators/subdivideop.c
2009-07-17 11:28:44 UTC (rev 21661)
@@ -687,7 +687,8 @@
}
/*make sure the two edges have a valid angle to each other*/
- if (totesel == 2) {
+ if (totesel == 2 && (e1->v1 == e2->v1 || e1->v1 == e2->v2
+ || e1->v2 == e2->v1 || e1->v2 == e2->v1)) {
float angle;
VecSubf(vec1, e1->v2->co, e1->v1->co);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs