From 28c20e456ff2c1cc85676e2dbf68d997d630e8a7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 11 Oct 2012 23:46:12 +0000 Subject: fix for many RNA definitions having soft/hard ranges swapped, make this BLI_assert() on debug builds. --- source/blender/editors/armature/poseobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index 189b2e977c2..365500a517b 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -1511,7 +1511,7 @@ void POSE_OT_group_assign(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* properties */ - RNA_def_int(ot->srna, "type", 0, 0, 10, "Bone Group Index", "", 0, INT_MAX); + RNA_def_int(ot->srna, "type", 0, 0, INT_MAX, "Bone Group Index", "", 0, 10); } -- cgit v1.2.3