Fix another cases where painting long brush strokes with small radius was slowed
[blender.git] / source / blender / python / intern / bpy_rna.c
index a0b2cd639bb7837c17d994aa5ef668f69d16c257..53340437e07db482142d7136d72843653bf34f45 100644 (file)
@@ -5318,7 +5318,7 @@ static PyObject *pyrna_func_doc_get(BPy_FunctionRNA *self, void *UNUSED(closure)
        PyObject *ret;
        char *args;
 
-       args = RNA_function_as_string_keywords(NULL, self->func, NULL, true, true);
+       args = RNA_function_as_string_keywords(NULL, self->func, NULL, true, true, INT_MAX);
 
        ret = PyUnicode_FromFormat("%.200s.%.200s(%.200s)\n%s",
                                   RNA_struct_identifier(self->ptr.type),