summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterDraw.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterDraw.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterDraw.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterDraw.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterDraw.java
index 3613cb893..c1535fece 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterDraw.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterDraw.java
@@ -50,7 +50,6 @@ public class ImageFilterDraw extends ImageFilter {
public ImageFilterDraw() {
mName = "Image Draw";
- setFilterType(TYPE_VIGNETTE);
}
DrawStyle[] mDrawingsTypes = new DrawStyle[] {
@@ -72,6 +71,7 @@ public class ImageFilterDraw extends ImageFilter {
FilterDrawRepresentation representation = new FilterDrawRepresentation();
representation.setName("Draw");
representation.setFilterClass(ImageFilterDraw.class);
+ representation.setFilterType(FilterRepresentation.TYPE_VIGNETTE);
return representation;
}