Knife tool: Increase the header string length to avoid clipping the message.
authorAntony Riakiotakis <kalast@gmail.com>
Fri, 20 Apr 2012 14:46:46 +0000 (14:46 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Fri, 20 Apr 2012 14:46:46 +0000 (14:46 +0000)
source/blender/editors/mesh/editmesh_knife.c

index 84d6439688a99a3f78828bb6c72b76a1d93d4b17..11c19af4914489700d96a5a913fa108e5a549145 100644 (file)
@@ -205,7 +205,7 @@ static void knife_input_ray_cast(KnifeTool_OpData *kcd, const int mval_i[2],
 
 static void knife_update_header(bContext *C, KnifeTool_OpData *kcd)
 {
-       #define HEADER_LENGTH 170
+       #define HEADER_LENGTH 180
        char header[HEADER_LENGTH];
 
        BLI_snprintf(header, HEADER_LENGTH, "LMB: define cut lines, Return: confirm, Esc or RMB: cancel, E: new cut, Ctrl: midpoint snap (%s), "