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>2006-06-20 22:31:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-06-20 22:31:05 +0400
commit447593d7b9d8020bf61e8cd00fc98ed3c170d973 (patch)
tree4909f42f1e1e2d75f99e10593f8160368dae34a3 /source/blender/python/api2_2x/doc/Draw.py
parent76ffb084509c809e690fe2d4bbc48e0d8aca3882 (diff)
Enforced a limit of 399 (UI_MAX_DRAW_STR) for pythons button object. using larger strings would segfailt blender.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Draw.py')
-rw-r--r--source/blender/python/api2_2x/doc/Draw.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Draw.py b/source/blender/python/api2_2x/doc/Draw.py
index 8a6bf60f734..faf97ec5e9a 100644
--- a/source/blender/python/api2_2x/doc/Draw.py
+++ b/source/blender/python/api2_2x/doc/Draw.py
@@ -269,6 +269,7 @@ def Create(value):
@param value: The value to store in the button.
@rtype: Blender Button
@return: The Button created.
+ @note: String values must have less then 400 characters.
"""
def PushButton(name, event, x, y, width, height, tooltip = None):