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:
authorBastien Montagne <bastien@blender.org>2020-06-16 18:14:50 +0300
committerBastien Montagne <bastien@blender.org>2020-06-16 18:40:30 +0300
commit94fba47513239a2ea20722d7d68b19e7e69e6b26 (patch)
tree9a64a84d583e628eeba29f4fb76df9411711cb3e /source/blender/blenkernel/BKE_object.h
parent9e307117f8399eb84f1c4932a1f577ecdd0c8a2d (diff)
Cleanup: use explicit enum type for duplicate option of `BKE_object_duplicate`
Using enum type itself in implementations, and uint in headers (as using enums types in headers is a pain when enum are not defined and used in a single same header file...).
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r--source/blender/blenkernel/BKE_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index 3710ec810ce..4096c4f2ec1 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -138,7 +138,7 @@ bool BKE_object_obdata_is_libdata(const struct Object *ob);
struct Object *BKE_object_duplicate(struct Main *bmain,
const struct Object *ob,
- const int dupflag);
+ const uint dupflag);
void BKE_object_obdata_size_init(struct Object *ob, const float scale);