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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-03-30 20:09:05 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-03-30 20:09:05 +0400
commitf469e0652aa3152752845834477f2939c40f908d (patch)
treea0c291dd1b3a6a08e76f8ed00850b3727a9de8e5 /source/blender/makesrna/intern/rna_mesh_utils.h
parent953af01d2ae4cc18789616edcb75454851ef4202 (diff)
Node socket values now only have soft limits, rather than hard limits, so you
can type in any value, and only when sliding the number value there is a limit. It was already possible to assign any value to a socket with node linking, so this shouldn't cause any new issues. Also raised the limits on the math nodes, with a patch by Agustin Benavidez.
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh_utils.h')
-rw-r--r--source/blender/makesrna/intern/rna_mesh_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh_utils.h b/source/blender/makesrna/intern/rna_mesh_utils.h
index f262e717eef..932a69680af 100644
--- a/source/blender/makesrna/intern/rna_mesh_utils.h
+++ b/source/blender/makesrna/intern/rna_mesh_utils.h
@@ -64,7 +64,8 @@
return data ? CustomData_number_of_layers(data, layer_type) : 0; \
} \
/* index range */ \
- static void rna_Mesh_##collection_name##_index_range(PointerRNA *ptr, int *min, int *max) \
+ static void rna_Mesh_##collection_name##_index_range(PointerRNA *ptr, int *min, int *max, \
+ int *softmin, int *softmax) \
{ \
CustomData *data = rna_mesh_##customdata_type(ptr); \
*min = 0; \