Cleanup: use const arguments for accessor functions

This commit is contained in:
2021-06-30 16:37:14 +10:00
parent df9597cfba
commit 501d2443d0
70 changed files with 249 additions and 233 deletions

View File

@@ -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,