Skip to content

Commit

Permalink
Should fix #1163
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Mar 30, 2021
1 parent 179a8ac commit a8dd3c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/score-plugin-faust/Faust/EffectModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ template <>
void JSONWriter::write(Faust::FaustEffectModel& eff)
{
eff.m_text = obj["Text"].toString();
eff.m_path = obj["Path"].toString();
if(auto path_it = obj.tryGet("Path"))
eff.m_path = path_it->toString();
eff.reload();
writePorts(
*this, components.interfaces<Process::PortFactoryList>(), eff.m_inlets, eff.m_outlets, &eff);
Expand Down

0 comments on commit a8dd3c1

Please sign in to comment.