--- gimp--/app/display/gimpdisplayshell-callbacks.c Sun May 18 03:47:57 2008 +++ gimp-painter--2.4.5/app/display/gimpdisplayshell-callbacks.c Sat May 17 06:25:29 2008 @@ -616,7 +616,6 @@ Gimp *gimp; GdkDisplay *gdk_display; GimpTool *active_tool; - GimpToolOptions *active_tool_options; GimpCoords display_coords; GimpCoords image_coords; GdkModifierType state; @@ -662,7 +661,6 @@ &image_coords); active_tool = tool_manager_get_active (gimp); - active_tool_options = gimp_tool_get_options (active_tool); if (active_tool && gimp_tool_control_get_snap_to (active_tool->control)) { @@ -1194,6 +1192,11 @@ { GdkTimeCoord **history_events; gint n_history_events; + gdouble max_coord_smooth = 0; + GimpToolOptions *active_tool_options; + + if (active_tool_options = GIMP_TOOL_GET_OPTIONS (active_tool)) + max_coord_smooth = active_tool_options->max_coord_smooth; /* if the first mouse button is down, check for automatic * scrolling... @@ -1256,7 +1259,7 @@ */ if (gimp_display_shell_eval_event (shell, &image_coords, - active_tool_options->max_coord_smooth, + max_coord_smooth, history_events[i]->time)) { tool_manager_motion_active (gimp, @@ -1277,7 +1280,7 @@ */ if (gimp_display_shell_eval_event (shell, &image_coords, - active_tool_options->max_coord_smooth, + max_coord_smooth, time)) { tool_manager_motion_active (gimp,