From 774905f7e870b137509e28a396fdb9f29cac8c97 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 9 Oct 2020 07:27:18 +0200 Subject: CleanUp: Introduce `eMeshBatchDirtyMode` enum It used to be an int mode. --- source/blender/blenkernel/BKE_mesh_types.h | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 source/blender/blenkernel/BKE_mesh_types.h (limited to 'source/blender/blenkernel/BKE_mesh_types.h') 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; -- cgit v1.2.3