Fix for [#26105] Key mapped Rotate equals crash (Windows/MSVC only)
authorJanne Karhu <jhkarh@gmail.com>
Mon, 21 Feb 2011 09:28:11 +0000 (09:28 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Mon, 21 Feb 2011 09:28:11 +0000 (09:28 +0000)
* Transform info text array was too short for all cases, so some characters got written to invalid addresses.

source/blender/editors/transform/transform.c

index 92a6b48dd14dfad01ce6431612f190247a4271db..97f4b4750936b91ef42c0dd05351b42399a22356 100644 (file)
@@ -3143,7 +3143,7 @@ static void applyRotation(TransInfo *t, float angle, float axis[3])
 
 int Rotation(TransInfo *t, short UNUSED(mval[2]))
 {
-       char str[64];
+       char str[128];
        
        float final;