We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d384490 commit b1bf6adCopy full SHA for b1bf6ad
1 file changed
src/minideen.hpp
@@ -89,19 +89,19 @@ struct MiniDeen : Filter {
89
90
int radius_tmp = -1;
91
in->Read("radius", radius_tmp);
92
- if (radius_tmp > 0)
+ if (radius_tmp >= 0)
93
radius[0] = radius[1] = radius[2] = radius_tmp;
94
95
radius_tmp = -1;
96
in->Read("radiusY", radius[0]);
97
in->Read("radiusUV", radius_tmp);
98
99
radius[1] = radius[2] = radius_tmp;
100
101
int threshold_tmp = -1;
102
in->Read("thrY", threshold[0]);
103
in->Read("thrUV", threshold_tmp);
104
- if (threshold_tmp > 0)
+ if (threshold_tmp >= 0)
105
threshold[1] = threshold[2] = threshold_tmp;
106
}
107
in->Read("opt", opt);
0 commit comments