From 74d9f0ff9554669cf011b3aed3c160555e3f1188 Mon Sep 17 00:00:00 2001 From: Konstantin Dmitriev Date: Dec 13 2019 04:35:51 +0000 Subject: Fix bug. Plugin execution now works. --- diff --git a/synfig-studio/src/gui/instance.cpp b/synfig-studio/src/gui/instance.cpp index 9c4c28a..0ca011e 100644 --- a/synfig-studio/src/gui/instance.cpp +++ b/synfig-studio/src/gui/instance.cpp @@ -386,9 +386,8 @@ studio::Instance::run_plugin(std::string plugin_path) one_moment.show(); } else { - // Restore file copy - FileSystem::WriteStream::Handle stream = temporary_filesystem->get_write_stream(tmp_filename); + FileSystem::WriteStream::Handle stream = temporary_filesystem->get_write_stream("#project.sifz"); if (!stream) { synfig::error("run_plugin(): Unable to open file for write");