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 694ee7c commit 9ae61e5Copy full SHA for 9ae61e5
src/effects/Blur.cpp
@@ -302,11 +302,11 @@ void Blur::SetJsonValue(Json::Value root) {
302
// Set data from Json (if key is found)
303
if (!root["horizontal_radius"].isNull())
304
horizontal_radius.SetJsonValue(root["horizontal_radius"]);
305
- else if (!root["vertical_radius"].isNull())
+ if (!root["vertical_radius"].isNull())
306
vertical_radius.SetJsonValue(root["vertical_radius"]);
307
- else if (!root["sigma"].isNull())
+ if (!root["sigma"].isNull())
308
sigma.SetJsonValue(root["sigma"]);
309
- else if (!root["iterations"].isNull())
+ if (!root["iterations"].isNull())
310
iterations.SetJsonValue(root["iterations"]);
311
}
312
0 commit comments