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:
authorCampbell Barton <ideasman42@gmail.com>2012-01-19 19:11:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-19 19:11:22 +0400
commitf340e0c449ba752a91b0f6f4d563d9ae58641a9f (patch)
treeda8bcfdd34afa8515a9914f4deecd240a964dc4e /source/blender
parentc82b428b95e4fba52f6428b85409f7319fb1c0be (diff)
size for static string was too small, we should really have dynamic sized strings to rna functions.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index 53203717c85..0246e22d928 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -643,7 +643,7 @@ void RNA_api_object(StructRNA *srna)
parm= RNA_def_enum(func, "type", mesh_dm_info_items, 0, "", "Modifier settings to apply");
RNA_def_property_flag(parm, PROP_REQUIRED);
/* weak!, no way to return dynamic string type */
- parm= RNA_def_string(func, "result", "result", 1024, "result", "");
+ parm= RNA_def_string(func, "result", "result", 16384, "result", "");
RNA_def_property_flag(parm, PROP_THICK_WRAP); /* needed for string return value */
RNA_def_function_output(func, parm);
#endif /* NDEBUG */