[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57508] trunk/blender/source/blender/ editors/uvedit/uvedit_ops.c: Attempt to fix #35548:
Antony Riakiotakis
kalast at gmail.com
Sun Jun 16 19:07:08 CEST 2013
Revision: 57508
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57508
Author: psy-fi
Date: 2013-06-16 17:07:07 +0000 (Sun, 16 Jun 2013)
Log Message:
-----------
Attempt to fix #35548:
Use nearest edge instead of nearest vertex for UV island selection, or
you may get a far away UV island that happens to have a vertex nearby.
Modified Paths:
--------------
trunk/blender/source/blender/editors/uvedit/uvedit_ops.c
Modified: trunk/blender/source/blender/editors/uvedit/uvedit_ops.c
===================================================================
--- trunk/blender/source/blender/editors/uvedit/uvedit_ops.c 2013-06-16 16:08:11 UTC (rev 57507)
+++ trunk/blender/source/blender/editors/uvedit/uvedit_ops.c 2013-06-16 17:07:07 UTC (rev 57508)
@@ -2113,7 +2113,7 @@
hitlen = hit.efa->len;
}
else if (selectmode == UV_SELECT_ISLAND) {
- uv_find_nearest_vert(scene, ima, em, co, NULL, &hit);
+ uv_find_nearest_edge(scene, ima, em, co, &hit);
if (hit.efa == NULL) {
return OPERATOR_CANCELLED;
@@ -2378,7 +2378,7 @@
RNA_float_get_array(op->ptr, "location", co);
}
- uv_find_nearest_vert(scene, ima, em, co, NULL, &hit);
+ uv_find_nearest_edge(scene, ima, em, co, &hit);
hit_p = &hit;
}
More information about the Bf-blender-cvs
mailing list