diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-10-07 14:49:14 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-10-07 17:18:12 +0300 |
commit | 0796807720882731cdb70be144aa182e9b0b9ee5 (patch) | |
tree | 5063394eb04b828e5d7f18db3baa5e5753dea2a0 /source/blender/blenkernel/BKE_mesh_types.h | |
parent | 13391038a5ce38835e1a7e9aa727f9c78f2e8dcd (diff) |
CleanUp: Introduce `eMeshBatchDirtyMode` enum
It used to be an `int mode`.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_types.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_types.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_types.h b/source/blender/blenkernel/BKE_mesh_types.h new file mode 100644 index 00000000000..aed8c44a031 --- /dev/null +++ b/source/blender/blenkernel/BKE_mesh_types.h @@ -0,0 +1,32 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * The Original Code is Copyright (C) 2020 by Blender Foundation + * All rights reserved. + */ +#pragma once + +/** \file + * \ingroup bke + */ + +typedef enum eMeshBatchDirtyMode { + BKE_MESH_BATCH_DIRTY_ALL = 0, + BKE_MESH_BATCH_DIRTY_SELECT, + BKE_MESH_BATCH_DIRTY_SELECT_PAINT, + BKE_MESH_BATCH_DIRTY_SHADING, + BKE_MESH_BATCH_DIRTY_UVEDIT_ALL, + BKE_MESH_BATCH_DIRTY_UVEDIT_SELECT, +} eMeshBatchDirtyMode; |