Skip to content

Commit

Permalink
Disabled caching for gradient norm and sharpening filters
Browse files Browse the repository at this point in the history
  • Loading branch information
aferrero2707 committed Feb 18, 2015
1 parent 17adf59 commit 8e8cf53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/operations/gmic/gradient_norm.hh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace PF

bool has_intensity() { return false; }
bool has_opacity() { return true; }
bool needs_caching() { return true; }
bool needs_caching() { return false; }


int get_padding( int level );
Expand Down
2 changes: 1 addition & 1 deletion src/operations/sharpen.hh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace PF
public:
SharpenPar();

bool needs_caching() { return true; }
bool needs_caching() { return false; }

VipsImage* build(std::vector<VipsImage*>& in, int first,
VipsImage* imap, VipsImage* omap,
Expand Down

0 comments on commit 8e8cf53

Please sign in to comment.