comments for RNA_def_property_ui_range() and clamp some out-of-range values.

This commit is contained in:
2013-01-22 11:23:05 +00:00
parent e11d22a6b7
commit 3406bafc59
6 changed files with 34 additions and 11 deletions

View File

@@ -549,8 +549,7 @@ static PyObject *app_translations_locale_explode(BlenderAppTranslations *UNUSED(
const char *locale;
char *language, *country, *variant, *language_country, *language_variant;
if (!PyArg_ParseTupleAndKeywords(args, kw, "s:bpy.app.translations.locale_explode", (char **)kwlist, &locale))
{
if (!PyArg_ParseTupleAndKeywords(args, kw, "s:bpy.app.translations.locale_explode", (char **)kwlist, &locale)) {
return NULL;
}