Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-05-05 12:38:51 +0300
committerSergey Sharybin <sergey@blender.org>2022-05-05 12:38:51 +0300
commit9ebf8a0c35a5f59133fcf883f0c818354ed0dd5e (patch)
treedae0a30693a3e39f8fefaa7dce72bf9e8957f2fb /source/blender
parent060c5a7fa2c10f8adcaadf30cf961103d31de113 (diff)
Cleanup: Use unsigned short for mesh flag
Solves the compilation warning about sign change when the default flags are cast from int to short.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index b98c9dd2886..97e057361c1 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -280,7 +280,7 @@ typedef struct Mesh {
/** Various flags used when editing the mesh. */
char editflag;
/** Mostly more flags used when editing or displaying the mesh. */
- short flag;
+ unsigned short flag;
/**
* The angle for auto smooth in radians. `M_PI` (180 degrees) causes all edges to be smooth.