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:
authorCampbell Barton <ideasman42@gmail.com>2010-10-19 05:21:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-19 05:21:22 +0400
commit106867910ea09fa63b04480dc83b20d67bdb4e09 (patch)
tree9b8c0e2e736f76bb4a97bcc7cb080ebe924a4aee /source/blender/makesdna
parentb743454ce1c361e6161da8ae5f840c2befe3a081 (diff)
use unsigned int for all layers.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_armature_types.h2
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h
index f7533ff9bde..b244d8277a7 100644
--- a/source/blender/makesdna/DNA_armature_types.h
+++ b/source/blender/makesdna/DNA_armature_types.h
@@ -91,7 +91,7 @@ typedef struct bArmature {
int pad;
- int layer, layer_protected; /* for buttons to work, both variables in this order together */
+ unsigned int layer, layer_protected; /* for buttons to work, both variables in this order together */
// XXX depreceated... old animaton system (armature only viz) ---
short ghostep, ghostsize; /* number of frames to ghosts to show, and step between them */
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 8c23ef94faf..9de5ad198a6 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -153,7 +153,8 @@ typedef struct View3D {
char ob_centre_bone[32]; /* optional string for armature bone to define center */
- int lay, layact;
+ unsigned int lay;
+ int layact;
/**
* The drawing mode for the 3d display. Set to OB_WIRE, OB_SOLID,