== 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 ? )
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user