Hi Martin,
I think I have a problem in the editor when loading scenes which
specify what libraries to load. The problem is that my systems - the
ones created in the plugins specified in the <libraries> block
- do not show up in the editor.
Looking at the code I seem to see two different behaviors about
plugins, as described below
** When adding a new plugin from the editor:
- the OnAddPlugin slot calls EditorApplication::AddPluginLibrary,
which will invoke mMainWindow->AddToKnownComponentList and the
new systems will appear. That's fine.
** When loading a scene with <libraries> specified:
- ParseScene will check the libraries to add and for each one it
will call pluginManager.AddPlugin, which will not update the list of
plugins known to the editor. So none of my systems will show up.
Did I miss something? If not, can we fix this? I think we shold just
add a way to let the editor know that a new plugin has been loaded
also when parsing the scene. I'll look deeper in the code and see if
I can propose a solution.
Luca
--
| _______________________________________________________________________ |
| Luca Vezzadini |
R&D
Team |
| Kairos3D Srl |
www.kairos3d.it |