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>2021-06-30 09:37:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-30 09:42:19 +0300
commit501d2443d03cce18985fab3ffad5d23238748f3e (patch)
tree1d127d4e4c6d82fc85feedc9826dd5619174e346 /source/blender/modifiers/intern/MOD_ui_common.c
parentdf9597cfba78deb40009553ab9dcf09c21edd434 (diff)
Cleanup: use const arguments for accessor functions
Diffstat (limited to 'source/blender/modifiers/intern/MOD_ui_common.c')
-rw-r--r--source/blender/modifiers/intern/MOD_ui_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_ui_common.c b/source/blender/modifiers/intern/MOD_ui_common.c
index 09fa7e9c8ac..9245afdb096 100644
--- a/source/blender/modifiers/intern/MOD_ui_common.c
+++ b/source/blender/modifiers/intern/MOD_ui_common.c
@@ -163,7 +163,7 @@ void modifier_vgroup_ui(uiLayout *layout,
* Check whether Modifier is a simulation or not. Used for switching to the
* physics/particles context tab.
*/
-static int modifier_is_simulation(ModifierData *md)
+static int modifier_is_simulation(const ModifierData *md)
{
/* Physic Tab */
if (ELEM(md->type,