diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-21 16:17:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-21 16:17:47 +0300 |
commit | bf26509855cf042375c44cbe729cd0e5262bb519 (patch) | |
tree | ab84f7e1d00878ad17514a2e5662dc2ec196f7f6 /source/blender/editors | |
parent | d3fafa3002847af913125ef71a5b70b1580f5189 (diff) |
Manipulator: name remove func's 'unlink_delayed'
Name wasn't right since this only unlinks from manipulator maps.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bisect.c | 2 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_bisect.c b/source/blender/editors/mesh/editmesh_bisect.c index ca84de74b3d..1937a9f6891 100644 --- a/source/blender/editors/mesh/editmesh_bisect.c +++ b/source/blender/editors/mesh/editmesh_bisect.c @@ -596,7 +596,7 @@ static bool manipulator_mesh_bisect_poll(const bContext *C, wmManipulatorGroupTy { wmOperator *op = WM_operator_last_redo(C); if (op == NULL || !STREQ(op->type->idname, "MESH_OT_bisect")) { - WM_manipulator_group_type_remove_ptr_delayed(wgt); + WM_manipulator_group_type_unlink_delayed_ptr(wgt); return false; } return true; diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index f6db7a48108..18320ec65f5 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -1063,7 +1063,7 @@ static bool manipulator_mesh_spin_poll(const bContext *C, wmManipulatorGroupType { wmOperator *op = WM_operator_last_redo(C); if (op == NULL || !STREQ(op->type->idname, "MESH_OT_spin")) { - WM_manipulator_group_type_remove_ptr_delayed(wgt); + WM_manipulator_group_type_unlink_delayed_ptr(wgt); return false; } return true; diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 0eae89266ef..a540fe58877 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -1463,7 +1463,7 @@ static bool WIDGETGROUP_xform_cage_poll(const bContext *C, wmManipulatorGroupTyp { WorkSpace *workspace = CTX_wm_workspace(C); if (!STREQ(wgt->idname, workspace->tool.manipulator_group)) { - WM_manipulator_group_type_remove_ptr_delayed(wgt); + WM_manipulator_group_type_unlink_delayed_ptr(wgt); return false; } return true; |