fix for many RNA definitions having soft/hard ranges swapped, make this BLI_assert() on debug builds.

This commit is contained in:
2012-10-11 23:46:12 +00:00
parent 4124e2e0c9
commit 28c20e456f
16 changed files with 78 additions and 35 deletions

View File

@@ -1233,7 +1233,7 @@ static void WM_OT_debug_menu(wmOperatorType *ot)
ot->exec = wm_debug_menu_exec;
ot->poll = WM_operator_winactive;
RNA_def_int(ot->srna, "debug_value", 0, -10000, 10000, "Debug Value", "", INT_MIN, INT_MAX);
RNA_def_int(ot->srna, "debug_value", 0, SHRT_MIN, SHRT_MAX, "Debug Value", "", -10000, 10000);
}