fix for own commit r49991, this exposed bad logic in rect copy function.
[blender.git] / source / blender / editors / interface / interface_panel.c
index 79aff82fe6f98a75b929d42c3c623bfc17fe88bc..501a5cf91b02005c8593f6310a9d9045e3d01a0f 100644 (file)
@@ -422,7 +422,7 @@ static void ui_draw_panel_scalewidget(rcti *rect)
        glDisable(GL_BLEND);
 }
 
-static void ui_draw_panel_dragwidget(rctf *rect)
+static void ui_draw_panel_dragwidget(const rctf *rect)
 {
        float xmin, xmax, dx;
        float ymin, ymax, dy;