Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

fix crash on copying column

shun-iwasawa4c325969f59c
diff --git a/toonz/sources/toonzqt/pluginhost.cpp b/toonz/sources/toonzqt/pluginhost.cpp
index 38e327df8..a7b5f94ec 100644
--- a/toonz/sources/toonzqt/pluginhost.cpp
+++ b/toonz/sources/toonzqt/pluginhost.cpp
@@ -56,7 +56,7 @@ bool PluginLoader::load_entries(const std::string &basepath) {
if (!aw) {
aw = new PluginLoadController(basepath, NULL);
}
- bool ret = aw->wait(16 /* ms */);
+ bool ret = aw->wait(16 /* ms */);
if (ret) aw = NULL; /* deleteLater で消えるはず */
return ret;
}
@@ -152,7 +152,7 @@ PluginDescription::PluginDescription(const plugin_probe_t *const probe) {
}
RasterFxPluginHost::RasterFxPluginHost(PluginInformation *pinfo)
- : TZeraryFx(), pi_(pinfo), user_data_(nullptr) {
+ : TRasterFx(), pi_(pinfo), user_data_(nullptr) {
pi_->add_ref();
}
diff --git a/toonz/sources/toonzqt/pluginhost.h b/toonz/sources/toonzqt/pluginhost.h
index a1b60e036..ebd499488 100644
--- a/toonz/sources/toonzqt/pluginhost.h
+++ b/toonz/sources/toonzqt/pluginhost.h
@@ -149,7 +149,7 @@ signals:
void start(const QString &filepath);
};
-class RasterFxPluginHost final : public TZeraryFx, public TPluginInterface {
+class RasterFxPluginHost final : public TRasterFx, public TPluginInterface {
PluginInformation *pi_;
std::vector<std::shared_ptr<TFxPort>> inputs_;