diff options
author | Hans Goudey <h.goudey@me.com> | 2022-10-06 04:51:05 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-10-06 18:49:24 +0300 |
commit | 0f224ceedba8575a7373938987c7ed18f3e565de (patch) | |
tree | e358a2e739e3b2dc70a63761155038f90e6d9444 /source/blender/blenkernel/BKE_multires.h | |
parent | dc93235797d12f3793646570ef61e07eb4ec1c2b (diff) |
Cleanup: Move multires.c to C++
Diffstat (limited to 'source/blender/blenkernel/BKE_multires.h')
-rw-r--r-- | source/blender/blenkernel/BKE_multires.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_multires.h b/source/blender/blenkernel/BKE_multires.h index dfa330ff508..53dfaf953ea 100644 --- a/source/blender/blenkernel/BKE_multires.h +++ b/source/blender/blenkernel/BKE_multires.h @@ -8,7 +8,7 @@ */ #include "BKE_subsurf.h" -#include "BLI_compiler_compat.h" +#include "BLI_utildefines.h" #ifdef __cplusplus extern "C" { @@ -53,12 +53,13 @@ void multires_modifier_update_hidden(struct DerivedMesh *dm); */ void multiresModifier_set_levels_from_disps(struct MultiresModifierData *mmd, struct Object *ob); -typedef enum { +typedef enum MultiresFlags { MULTIRES_USE_LOCAL_MMD = 1, MULTIRES_USE_RENDER_PARAMS = 2, MULTIRES_ALLOC_PAINT_MASK = 4, MULTIRES_IGNORE_SIMPLIFY = 8, } MultiresFlags; +ENUM_OPERATORS(MultiresFlags, MULTIRES_IGNORE_SIMPLIFY); struct DerivedMesh *multires_make_derived_from_derived(struct DerivedMesh *dm, struct MultiresModifierData *mmd, |