PR #4111 must be fixed immediately. The PR enables VR3 willy-nilly, 
regardless of @enabled-plugins.

Happily, adding a guard seems to work. In << initialize data structures >>, 
the new code should be:

has_vr3 = is_module_loaded(VR3_MODULE_NAME)
if has_vr3:  # <----- new guard
    if (vr3 := self.find_widget('viewrendered3_pane')) is None:
        import leo.plugins.viewrendered3 as vr3_mod
        vr3 = vr3_mod.getVr3({'c': self.c})
    vr3.setParent(self)

I shall issue an emergency PR immediately. All tests. I shall also remove 
the 'use-*' commands. They restart Leo! Testing reveals that the new 
`legacy-*' commands are much better.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c97c4ca2-9452-4adb-8d7c-bfd60cb05741n%40googlegroups.com.

Reply via email to