diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-02-16 13:52:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-02-16 17:40:03 +0300 |
commit | 7e312f89d970744eb90351de01101358613b89ec (patch) | |
tree | 732ed7784bba07ef27091e256bb8675c935ca2f9 /source/blender/blenkernel/intern | |
parent | 259f4e50efe63ccc158a4dcfb6c6910401e1c213 (diff) |
Cleanup: Use const qualifier in modifier data copy
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/modifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index 46fea5ae115..0e8838d16ce 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -348,7 +348,7 @@ static void modifier_copy_data_id_us_cb(void *UNUSED(userData), } } -void BKE_modifier_copydata_ex(ModifierData *md, ModifierData *target, const int flag) +void BKE_modifier_copydata_ex(const ModifierData *md, ModifierData *target, const int flag) { const ModifierTypeInfo *mti = BKE_modifier_get_info(md->type); @@ -378,7 +378,7 @@ void BKE_modifier_copydata_ex(ModifierData *md, ModifierData *target, const int } } -void BKE_modifier_copydata(ModifierData *md, ModifierData *target) +void BKE_modifier_copydata(const ModifierData *md, ModifierData *target) { BKE_modifier_copydata_ex(md, target, 0); } |