Comment 2 for bug 747607

Revision history for this message
Huy (hkervn2001) wrote : Re: Pencil Streck - Color Range does not affect

- Open an image
- Go to menu: Effects\Artistic\Pencil Sketch
- Drag "Color Range" => not affect.

To Fix this bug:
-Open file PencilSketchEffect.cs
update
          bacAdjustment.Data.Brightness = Data.ColorRange;
   bacAdjustment.Data.Contrast = - Data.ColorRange;
to
                        bacAdjustment.table_calculated = false;
   bacAdjustment.Data.Brightness = Data.ColorRange;
   bacAdjustment.Data.Contrast = - Data.ColorRange;

- Open BrightnessContrastEffect.cs
update
                        private bool table_calculated;
to
                        internal bool table_calculated;

Thanks