[Bf-blender-cvs] [2450b70efac] blender2.8: Mesh: add runtime customdata dirty flags

Campbell Barton noreply at git.blender.org
Wed May 2 15:54:11 CEST 2018


Commit: 2450b70efacde0af75a8ab4125410779f01c5b4f
Author: Campbell Barton
Date:   Wed May 2 15:52:59 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB2450b70efacde0af75a8ab4125410779f01c5b4f

Mesh: add runtime customdata dirty flags

===================================================================

M	source/blender/makesdna/DNA_mesh_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 91477578bf7..9e611762b37 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -69,6 +69,11 @@ typedef struct EditMeshData {
 typedef struct MeshRuntime {
 	struct EditMeshData *edit_data;
 	void *batch_cache;
+
+	uint64_t cd_dirty_vert;
+	uint64_t cd_dirty_edge;
+	uint64_t cd_dirty_loop;
+	uint64_t cd_dirty_poly;
 } MeshRuntime;
 
 typedef struct Mesh {



More information about the Bf-blender-cvs mailing list