Commit 9cd408dd authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

more changes to restore the gimp-2.0 behaviour.

2004-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c (dialog_bumpmap_callback): more changes
	to restore the gimp-2.0 behaviour.
parent 4714802a
2004-12-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/bumpmap.c (dialog_bumpmap_callback): more changes
to restore the gimp-2.0 behaviour.
2004-12-11 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-preview.[ch]: added new function
......
......@@ -1480,9 +1480,14 @@ static void
dialog_bumpmap_callback (GtkWidget *widget,
GimpPreview *preview)
{
gimp_int_combo_box_get_active (GIMP_INT_COMBO_BOX (widget),
&bmvals.bumpmap_id);
gint32 drawable_id;
dialog_new_bumpmap (FALSE);
gimp_preview_invalidate (preview);
gimp_int_combo_box_get_active (GIMP_INT_COMBO_BOX (widget), &drawable_id);
if (bmvals.bumpmap_id != drawable_id)
{
bmvals.bumpmap_id = drawable_id;
dialog_new_bumpmap (TRUE);
gimp_preview_invalidate (preview);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment