Commit 336e10ae authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

applied a patch from David Hodson that reverts the curves tool back to its

2000-12-19  Sven Neumann  <sven@gimp.org>

	* app/curves.c: applied a patch from David Hodson that reverts
	the curves tool back to its old behaviour (start with the identical
	transform), but keeps the fix for bug #33403.
parent e7c969dd
2000-12-19 Sven Neumann <sven@gimp.org>
* app/curves.c: applied a patch from David Hodson that reverts
the curves tool back to its old behaviour (start with the identical
transform), but keeps the fix for bug #33403.
2000-12-19 Michael Natterer <mitch@gimp.org>
* app/patterns.c: uniquefy pattern names before inserting them
......
......@@ -453,17 +453,17 @@ curves_initialize (GDisplay *gdisp)
if (!curves_dialog)
{
curves_dialog = curves_dialog_new ();
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
}
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
curves_dialog->drawable = gimage_active_drawable (gdisp->gimage);
......@@ -497,9 +497,6 @@ curves_initialize (GDisplay *gdisp)
gtk_widget_show (curves_dialog->shell);
curves_update (curves_dialog, GRAPH | DRAW);
if (curves_dialog->preview)
curves_preview (curves_dialog);
}
void
......
......@@ -453,17 +453,17 @@ curves_initialize (GDisplay *gdisp)
if (!curves_dialog)
{
curves_dialog = curves_dialog_new ();
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
}
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
curves_dialog->drawable = gimage_active_drawable (gdisp->gimage);
......@@ -497,9 +497,6 @@ curves_initialize (GDisplay *gdisp)
gtk_widget_show (curves_dialog->shell);
curves_update (curves_dialog, GRAPH | DRAW);
if (curves_dialog->preview)
curves_preview (curves_dialog);
}
void
......
......@@ -453,17 +453,17 @@ curves_initialize (GDisplay *gdisp)
if (!curves_dialog)
{
curves_dialog = curves_dialog_new ();
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
}
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
curves_dialog->drawable = gimage_active_drawable (gdisp->gimage);
......@@ -497,9 +497,6 @@ curves_initialize (GDisplay *gdisp)
gtk_widget_show (curves_dialog->shell);
curves_update (curves_dialog, GRAPH | DRAW);
if (curves_dialog->preview)
curves_preview (curves_dialog);
}
void
......
......@@ -453,17 +453,17 @@ curves_initialize (GDisplay *gdisp)
if (!curves_dialog)
{
curves_dialog = curves_dialog_new ();
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
}
/* Initialize the values */
curves_dialog->channel = GIMP_HISTOGRAM_VALUE;
for (i = 0; i < 5; i++)
for (j = 0; j < 256; j++)
curves_dialog->curve[i][j] = j;
for (i = 0; i < 5; i++)
{
curves_channel_reset (i);
}
curves_dialog->drawable = gimage_active_drawable (gdisp->gimage);
......@@ -497,9 +497,6 @@ curves_initialize (GDisplay *gdisp)
gtk_widget_show (curves_dialog->shell);
curves_update (curves_dialog, GRAPH | DRAW);
if (curves_dialog->preview)
curves_preview (curves_dialog);
}
void
......
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