[Bf-blender-cvs] [f7e77692604] blender2.8: Cleanup: use '_Runtime' suffix

Campbell Barton noreply at git.blender.org
Fri May 18 08:11:01 CEST 2018


Commit: f7e77692604a1fb92086b67b848e4d3ca219e6ae
Author: Campbell Barton
Date:   Fri May 18 08:02:32 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBf7e77692604a1fb92086b67b848e4d3ca219e6ae

Cleanup: use '_Runtime' suffix

Allows for more easily finding runtime versions of any struct.

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

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 4e347cc4363..48c39d439dd 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -80,7 +80,7 @@ struct MLoopTri_Store {
 };
 
 /* not saved in file! */
-typedef struct MeshRuntime {
+typedef struct Mesh_Runtime {
 	struct EditMeshData *edit_data;
 	void *batch_cache;
 
@@ -96,7 +96,7 @@ typedef struct MeshRuntime {
 
 	int deformed_only; /* set by modifier stack if only deformed from original */
 	char padding[4];
-} MeshRuntime;
+} Mesh_Runtime;
 
 typedef struct Mesh {
 	ID id;
@@ -173,7 +173,7 @@ typedef struct Mesh {
 
 	struct Multires *mr DNA_DEPRECATED; /* deprecated multiresolution modeling data, only keep for loading old files */
 
-	MeshRuntime runtime;
+	Mesh_Runtime runtime;
 } Mesh;
 
 /* deprecated by MTFace, only here for file reading */



More information about the Bf-blender-cvs mailing list