[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14143] trunk/blender/source/blender/src/ transform_orientations.c: == Align ==
Peter Schlaile
peter at schlaile.de
Sun Mar 16 18:44:01 CET 2008
Revision: 14143
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14143
Author: schlaile
Date: 2008-03-16 18:43:59 +0100 (Sun, 16 Mar 2008)
Log Message:
-----------
== 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 ? )
Modified Paths:
--------------
trunk/blender/source/blender/src/transform_orientations.c
Modified: trunk/blender/source/blender/src/transform_orientations.c
===================================================================
--- trunk/blender/source/blender/src/transform_orientations.c 2008-03-16 17:34:39 UTC (rev 14142)
+++ trunk/blender/source/blender/src/transform_orientations.c 2008-03-16 17:43:59 UTC (rev 14143)
@@ -321,7 +321,7 @@
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);
More information about the Bf-blender-cvs
mailing list