Fix for r46170.
authorThomas Dinges <blender@dingto.org>
Tue, 1 May 2012 21:39:52 +0000 (21:39 +0000)
committerThomas Dinges <blender@dingto.org>
Tue, 1 May 2012 21:39:52 +0000 (21:39 +0000)
* "but=but->next"  was there twice, once in the loop block and once at the end, caused Blender to crash on startup.

Please always compile and check it works before committing. :)

source/blender/editors/interface/interface.c

index c8806aa01663d6bcfe990aaca3a0c76051d98bd7..c7fb523dcba98d99de4c564d2a856c2b29441b4c 100644 (file)
@@ -540,7 +540,6 @@ static void ui_draw_links(uiBlock *block)
                                        foundselectline = 1;
                        }
                }
-               but = but->next;
        }       
 
        // Draw any active lines (lines with either button being hovered over).