Loading plugins with another plugin 2005-06-13 - By ozu's mailbot
Back Yes, my suggestion was to delay the load of plugins until you need them ie sticking loading of a library command into the init of another command. not in the load plugin callback.
Andrew Skowronski wrote:
>Hi Bernard, > >Your memory is correct, this slowdown is something that we are aware of and >looking to address. > >However if you load the other plug-ins directly inside your XSILoadPlugin call >you will lose all potential advantage of a deferred load, because they will >all be loaded immediately on start up just as if they had been located in the >Plugins directory. > >The idea rather is to delay as long as possible the calls to LoadPlugin, >e.g. if the commands are related to a particular project or effect >only load them when the project is being worked on. It might be a custom command >that gets called when you click a button that loads everything if it is not already >loaded. Or might be a question of locating your plug-ins on different workgroups. > >Hope this helps, > >-Andrew >XSI SDK Team Lead > > >-- --Original Message-- -- >From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf >Of Bernard Lebel >Posted At: Monday, June 06, 2005 4:32 PM >Posted To: xsi >Conversation: Loading plugins with another plugin >Subject: Loading plugins with another plugin > > >Hello, > >I have been searching for a post made by Olivier Ozoux, where he >stated that he puts self-installed commands outside the actual Plugins >directories of XSI, so this does not cause a hang in XSI when you >bring an explorer for the time during a session. > >I would like to experiment with the idea, as this hang is very >annoying. However I cannot find this email. > >I have tried putting a LoadPlugin() command in the XSLoadPlugin() >function of a self-installed plugin to load "remote" plugins at >startup, but does that does not prevent the hang once I switch to an >explorer. Any suggestion welcome. > > >Thanks! >Bernard > >--- >Unsubscribe? Mail Majordomo@(protected) with the following text in body: >unsubscribe xsi > >--- >Unsubscribe? Mail Majordomo@(protected) with the following text in body: >unsubscribe xsi > > --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|