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:
authorCampbell Barton <ideasman42@gmail.com>2017-10-21 16:17:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-21 16:17:47 +0300
commitbf26509855cf042375c44cbe729cd0e5262bb519 (patch)
treeab84f7e1d00878ad17514a2e5662dc2ec196f7f6 /source/blender/windowmanager
parentd3fafa3002847af913125ef71a5b70b1580f5189 (diff)
Manipulator: name remove func's 'unlink_delayed'
Name wasn't right since this only unlinks from manipulator maps.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/manipulators/WM_manipulator_api.h6
-rw-r--r--source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/windowmanager/manipulators/WM_manipulator_api.h b/source/blender/windowmanager/manipulators/WM_manipulator_api.h
index 14cc5e9f137..afc39fe1005 100644
--- a/source/blender/windowmanager/manipulators/WM_manipulator_api.h
+++ b/source/blender/windowmanager/manipulators/WM_manipulator_api.h
@@ -297,12 +297,12 @@ void WM_manipulator_group_type_remove_ptr(
struct Main *bmain, struct wmManipulatorGroupType *wgt);
void WM_manipulator_group_type_remove(struct Main *bmain, const char *idname);
-void WM_manipulator_group_type_remove_ptr_delayed_ex(
+void WM_manipulator_group_type_unlink_delayed_ptr_ex(
struct wmManipulatorGroupType *wgt,
struct wmManipulatorMapType *mmap_type);
-void WM_manipulator_group_type_remove_ptr_delayed(
+void WM_manipulator_group_type_unlink_delayed_ptr(
struct wmManipulatorGroupType *wgt);
-void WM_manipulator_group_type_remove_delayed(const char *idname);
+void WM_manipulator_group_type_unlink_delayed(const char *idname);
/* Utilities */
void WM_manipulator_group_type_is_any_selected(const char *idname);
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
index cc902f2acdb..24786695cba 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
@@ -757,25 +757,25 @@ void WM_manipulator_group_type_remove(struct Main *bmain, const char *idname)
/* delayed versions */
-void WM_manipulator_group_type_remove_ptr_delayed_ex(
+void WM_manipulator_group_type_unlink_delayed_ptr_ex(
wmManipulatorGroupType *wgt,
wmManipulatorMapType *mmap_type)
{
WM_manipulatorconfig_update_tag_remove(mmap_type, wgt);
}
-void WM_manipulator_group_type_remove_ptr_delayed(
+void WM_manipulator_group_type_unlink_delayed_ptr(
wmManipulatorGroupType *wgt)
{
wmManipulatorMapType *mmap_type = WM_manipulatormaptype_ensure(&wgt->mmap_params);
- WM_manipulator_group_type_remove_ptr_delayed_ex(wgt, mmap_type);
+ WM_manipulator_group_type_unlink_delayed_ptr_ex(wgt, mmap_type);
}
-void WM_manipulator_group_type_remove_delayed(const char *idname)
+void WM_manipulator_group_type_unlink_delayed(const char *idname)
{
wmManipulatorGroupType *wgt = WM_manipulatorgrouptype_find(idname, false);
BLI_assert(wgt != NULL);
- WM_manipulator_group_type_remove_ptr_delayed(wgt);
+ WM_manipulator_group_type_unlink_delayed_ptr(wgt);
}
/** \} */