PDA

View Full Version : replace plugin



GregMalick
12-15-2005, 01:08 AM
Simple question:

It appears that LW holds onto a plugin once it is used.
Even when removed in a scene it seems to have locked the file.

VS C++ gives me this message:
Could not delete file 'd:\LightWave\External Plugins\ToneCurve.p'.
Make sure that the file is not open by another process and is not write-protected.


I have to clear the scene and then reload the scene again.

When debugging incremental builds of a plugin, is this standard operating procedure? Or is there a "flush that puppy" command?

tischbein3
12-15-2005, 04:36 AM
lightwolf has pointed this out in another thread,
in layout there is a command named: "flush unused plugins"
(make a search in the "edit menu layout" window)

sadly in modeler there is nothing.

GregMalick
12-15-2005, 08:46 AM
thanks!

If only I had searched on flush instead of flush that puppy :lol:

GregMalick
12-15-2005, 11:47 AM
lightwolf has pointed this out in another thread,
in layout there is a command named: "flush unused plugins"
(make a search in the "edit menu layout" window)

sadly in modeler there is nothing.


Just found this in the SDK docs:


LightWaveŽ Modeler supports a debug command line switch. When started with the -d switch, Modeler adds an "Unload Plug-ins" command. (This appears in the Modeler/Plug-ins menu with the default configuration, but may not appear in custom menu configurations.) Activating this command forces Modeler to unload all unlocked plug-in modules, so that when you execute your plug-in again it will be reloaded from disk.

tischbein3
12-15-2005, 12:34 PM
Holy cow !

(this makes it more easier for me to take over the world)
thanks a lot !



:bowdown: :bowdown: :bowdown: :bowdown: :bowdown: :bowdown: :bowdown: :bowdown: :bowdown: :bowdown:

Lynx3d
12-15-2005, 01:47 PM
Yea unfortunately, polygon handlers in Modeler cannot be unloaded even in debug mode, so i still keep starting and closing Modeler all the time...very annoying.

tischbein3
12-16-2005, 09:32 AM
I should have known there would be some drawback, :screwy:

anyway really thanks for the tip and the warning.