diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-05-20 12:51:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-05-20 12:51:03 +0400 |
commit | 9d62acea673c2a3a74a97915a0f40c7329634ca3 (patch) | |
tree | 5fae6623b4ad7c073f69024861eb06c00e898086 /source/blender/makesrna/intern/rna_image.c | |
parent | 79a45e75d352e73c543cedc46b3c62d89e38b754 (diff) |
some rna numbers were signed when they shouldnt be (simplify could have its subdivisions set negative)
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 52f4b289368..c4137d5379b 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -441,7 +441,7 @@ static void rna_def_image(BlenderRNA *brna) RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text(prop, "Has data", "True if this image has data"); - prop= RNA_def_property(srna, "depth", PROP_INT, PROP_NONE); + prop= RNA_def_property(srna, "depth", PROP_INT, PROP_UNSIGNED); RNA_def_property_int_funcs(prop, "rna_Image_depth_get", NULL, NULL); RNA_def_property_ui_text(prop, "Depth", "Image bit depth"); RNA_def_property_clear_flag(prop, PROP_EDITABLE); |