Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco De La Cruz <dlcs.frank@gmail.com>2012-04-15 22:34:13 +0400
committerFrancisco De La Cruz <dlcs.frank@gmail.com>2012-04-15 22:34:13 +0400
commit86508076d8190a374bcd9c17785eb0802dd4c1ca (patch)
treef3f47c0b0cf5f528b6af34a3aadacdafcd3a0d0b /source/blender/bmesh/intern/bmesh_opdefines.c
parent117f2826b929b0100b4233577a310ae5cc907cb0 (diff)
Fix [#30943] Crash when edge mode enabled and use the bmesh vertex slide(shift-V)
Also fixed snapping sensitivity. Gave BMOp a more consistent name "vertex_slide".
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_opdefines.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_opdefines.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c
index 3352df71414..5896a18223a 100644
--- a/source/blender/bmesh/intern/bmesh_opdefines.c
+++ b/source/blender/bmesh/intern/bmesh_opdefines.c
@@ -1110,14 +1110,14 @@ static BMOpDefine bmo_inset_def = {
*
* Translates vertes along an edge
*/
-static BMOpDefine bmo_vert_slide_def = {
-"vertslide",
+static BMOpDefine bmo_vertex_slide_def = {
+ "vertex_slide",
{{BMO_OP_SLOT_ELEMENT_BUF, "vert"},
{BMO_OP_SLOT_ELEMENT_BUF, "edge"},
{BMO_OP_SLOT_ELEMENT_BUF, "vertout"},
{BMO_OP_SLOT_FLT, "distance_t"},
{0} /* null-terminating sentinel */},
- bmo_vert_slide_exec,
+ bmo_vertex_slide_exec,
BMO_OP_FLAG_UNTAN_MULTIRES
};
@@ -1189,7 +1189,7 @@ BMOpDefine *opdefines[] = {
&bmo_bridge_loops_def,
&bmo_solidify_def,
&bmo_inset_def,
- &bmo_vert_slide_def,
+ &bmo_vertex_slide_def,
};
int bmesh_total_ops = (sizeof(opdefines) / sizeof(void *));