From 48e089375ebe4aeb30d60e9d8ef6f467280cf07d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Aug 2020 22:56:13 +1000 Subject: Cleanup: pass arrays const where possible --- source/blender/blenkernel/intern/object_dupli.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/object_dupli.c') diff --git a/source/blender/blenkernel/intern/object_dupli.c b/source/blender/blenkernel/intern/object_dupli.c index dac9b1f1cfe..f485f3d2419 100644 --- a/source/blender/blenkernel/intern/object_dupli.c +++ b/source/blender/blenkernel/intern/object_dupli.c @@ -144,7 +144,10 @@ static void copy_dupli_context( /* generate a dupli instance * mat is transform of the object relative to current context (including object obmat) */ -static DupliObject *make_dupli(const DupliContext *ctx, Object *ob, float mat[4][4], int index) +static DupliObject *make_dupli(const DupliContext *ctx, + Object *ob, + const float mat[4][4], + int index) { DupliObject *dob; int i; -- cgit v1.2.3