plugin gui ref by id fixes, plugin gui opengl update fixes, prores opts files
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / module.C
index a2e17bb22f085ff2a7ebbb5cc328ad6205378ba6..3c21504e6a7e30471c91866bd50774cd447d6f60 100644 (file)
@@ -272,10 +272,9 @@ int Module::test_plugins()
                        (!attachment && use_plugin)) return 1;
 
 // Plugin not the same
                        (!attachment && use_plugin)) return 1;
 
 // Plugin not the same
-               if(plugin &&
-                       attachment &&
-                       attachment->plugin &&
-                       !plugin->identical(attachment->plugin)) return 1;
+               if( plugin && attachment && attachment->plugin && (
+                       plugin->gui_id != attachment->plugin->gui_id ||
+                       !plugin->identical(attachment->plugin) ) ) return 1;
        }
 
        return 0;
        }
 
        return 0;