You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fix logic for 3 of the 4 blur parameters (#118)
This commit is contained in:
committed by
Jonathan Thomas
parent
694ee7c24e
commit
9ae61e50b0
@@ -302,11 +302,11 @@ void Blur::SetJsonValue(Json::Value root) {
|
||||
// Set data from Json (if key is found)
|
||||
if (!root["horizontal_radius"].isNull())
|
||||
horizontal_radius.SetJsonValue(root["horizontal_radius"]);
|
||||
else if (!root["vertical_radius"].isNull())
|
||||
if (!root["vertical_radius"].isNull())
|
||||
vertical_radius.SetJsonValue(root["vertical_radius"]);
|
||||
else if (!root["sigma"].isNull())
|
||||
if (!root["sigma"].isNull())
|
||||
sigma.SetJsonValue(root["sigma"]);
|
||||
else if (!root["iterations"].isNull())
|
||||
if (!root["iterations"].isNull())
|
||||
iterations.SetJsonValue(root["iterations"]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user