On Mon, Oct 5, 2020 at 1:12 PM Thomas Passin <[email protected]> wrote:

> I presume you are referring to the code in the command "vr":
>
> @g.command('vr')
> def viewrendered(event):
>     """Open render view for commander"""
>     global controllers, layouts
>     if g.app.gui.guiName() != 'qt':
>         return None
>     c = event.get('c')
>     if not c:
>         return None
>     h = c.hash()
>     vr = controllers.get(h)
>     if not vr:
>         controllers[h] = vr = ViewRenderedController(c)
>
> I had slightly modified this code.  But when I restored it to your
> version, I still found that a new ViewRenderedController3 object gets
> instantiated each time the rendering panel gets hidden and then shown.
> What's more, I find that the same happens with the current no-docks
> version of the VR plugin, too.
>

Ok. Let's agree not to worry about this for now. We both have more
important things to do.

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/CAMF8tS0c7XJG3oGKviDA1qhsRR638m_NrC7JEp5Pxsadd8MvTg%40mail.gmail.com.

Reply via email to