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-12-14 19:20:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-14 19:20:25 +0300
commit4057626e55e3c1e78d6725c54160b059580f1dd1 (patch)
tree848276be21979001f631e3a6a801a38db84f8596 /source/blender/makesrna/intern/rna_define.c
parent2dc61df9eac381042af2b9a675ac645ee88449dc (diff)
- revert own recent change after discussion, default set hard minimum of colors to 0 but now don't set a hard min, each property needs to define.
- use_old_bump setting only applies to material texture slots.
Diffstat (limited to 'source/blender/makesrna/intern/rna_define.c')
-rw-r--r--source/blender/makesrna/intern/rna_define.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c
index b061fbccd37..214a79dbd34 100644
--- a/source/blender/makesrna/intern/rna_define.c
+++ b/source/blender/makesrna/intern/rna_define.c
@@ -887,8 +887,6 @@ PropertyRNA *RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier
fprop->hardmax= FLT_MAX;
if(ELEM(subtype, PROP_COLOR, PROP_COLOR_GAMMA)) {
- fprop->hardmin= 0.0f; /* disallow colors to go below zero */
-
fprop->softmin= 0.0f;
fprop->softmax= 1.0f;
}