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:
authorPeter Schlaile <peter@schlaile.de>2008-03-16 20:43:59 +0300
committerPeter Schlaile <peter@schlaile.de>2008-03-16 20:43:59 +0300
commitbb98264bcc043918f2765c4087550dd37170c717 (patch)
tree8f75991b08cd8feea03be7c56c26adc39190dde8 /source/blender/src/transform_orientations.c
parentf31d4af1788bd1bf97656bce197630acc4436a37 (diff)
== Align ==
Bugfix: Fix for "Use pupmenu menu to select align orientation. Faster workflow than always having to change the current transform orientation beforehand." memory corruption... (theeth ? )
Diffstat (limited to 'source/blender/src/transform_orientations.c')
-rw-r--r--source/blender/src/transform_orientations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform_orientations.c b/source/blender/src/transform_orientations.c
index 0b24a5cb1a4..849644e3791 100644
--- a/source/blender/src/transform_orientations.c
+++ b/source/blender/src/transform_orientations.c
@@ -321,7 +321,7 @@ char * BIF_menustringTransformOrientation(char *title) {
char *str_menu, *p;
- str_menu = MEM_callocN(strlen(menu) + 40 * BIF_countTransformOrientation(), "UserTransSpace from matrix");
+ str_menu = MEM_callocN(strlen(menu) + strlen(title) + 40 * BIF_countTransformOrientation(), "UserTransSpace from matrix");
p = str_menu;
p += sprintf(str_menu, "%s", title);