[Bf-blender-cvs] [580d10e6b67] blender2.8: Change mesh dirty runtime flags to signed int64_t.
Bastien Montagne
noreply at git.blender.org
Mon May 7 14:38:04 CEST 2018
Commit: 580d10e6b670e168959441eebea93fed406625f1
Author: Bastien Montagne
Date: Mon May 7 14:33:20 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB580d10e6b670e168959441eebea93fed406625f1
Change mesh dirty runtime flags to signed int64_t.
Because CD_MASK_XXX are signed longlong, so when assigning to unsigned
longlong you get grumpy compiler errors!
===================================================================
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 9e611762b37..d951f67a7c4 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -70,10 +70,10 @@ 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;
+ int64_t cd_dirty_vert;
+ int64_t cd_dirty_edge;
+ int64_t cd_dirty_loop;
+ int64_t cd_dirty_poly;
} MeshRuntime;
typedef struct Mesh {
More information about the Bf-blender-cvs
mailing list