[Cin] in/out point selected plugin attach fix?
Andrew Randrianasulu
randrianasulu at gmail.com
Tue Aug 10 13:13:32 CEST 2021
On Tuesday, August 10, 2021, Andrea paz via Cin <cin at lists.cinelerra-gg.org>
wrote:
> I did a lot of testing on how the plugins work in the 3 modes of Gang
> (patch 1 and 2 only). I summarized the results in a table.
>
>
Can you export/save it also as pdf? (no libreoffice here..)
> If you can
> match the behavior I found you will do me a favor.
> The only thing that doesn't make sense to me (?) is RMB --> Attach
> Effect in Gang None. It also applies on unarmed tracks; in my opinion
> it should be more consistent to only act on armed tracks.
>
try attached patch?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210810/dda3ec21/attachment.htm>
-------------- next part --------------
diff --git a/cinelerra-5.1/cinelerra/mwindowedit.C b/cinelerra-5.1/cinelerra/mwindowedit.C
index 458ced96..e75a3ebf 100644
--- a/cinelerra-5.1/cinelerra/mwindowedit.C
+++ b/cinelerra-5.1/cinelerra/mwindowedit.C
@@ -870,6 +870,8 @@ void MWindow::insert_effect(char *title,
SharedLocation *shared_location, Track *track, PluginSet *plugin_set,
double start, double length, int plugin_type)
{
+ if(!track->is_armed()) return;
+
KeyFrame *default_keyframe = 0;
PluginServer *server = 0;
// Get default keyframe
More information about the Cin
mailing list