plugin gui ref by id fixes, plugin gui opengl update fixes, prores opts files
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / plugin.C
index e37e930f9342802d3d678bacc63efdd0482cf5c6..d28087b838a86b838165bfb316dc79cf678b0448 100644 (file)
@@ -139,7 +139,7 @@ void Plugin::copy_base(Edit *edit)
        this->out = plugin->out;
        this->show = plugin->show;
        this->on = plugin->on;
        this->out = plugin->out;
        this->show = plugin->show;
        this->on = plugin->on;
-       this->gui_id = plugin->gui_id;
+// dont copy gui_id, it will be a duplicate ref
 // Should reconfigure this based on where the first track is now.
        this->shared_location = plugin->shared_location;
        strcpy(this->title, plugin->title);
 // Should reconfigure this based on where the first track is now.
        this->shared_location = plugin->shared_location;
        strcpy(this->title, plugin->title);
@@ -178,6 +178,7 @@ void Plugin::synchronize_params(Edit *edit)
        this->in = plugin->in;
        this->out = plugin->out;
        this->show = plugin->show;
        this->in = plugin->in;
        this->out = plugin->out;
        this->show = plugin->show;
+       this->gui_id = plugin->gui_id;
        this->on = plugin->on;
        strcpy(this->title, plugin->title);
        copy_keyframes(plugin);
        this->on = plugin->on;
        strcpy(this->title, plugin->title);
        copy_keyframes(plugin);