-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Element Module Editor side not loading #707
Comments
try MyCustomElementEditor = MyCustomElementEditor or class(MissionScriptEditor)
function MyCustomElementEditor:create_element()
self.super.create_element(self)
self._element.class = "MyCustomElement"
end |
Doesnt seem to fix it, Ive also gone and reorganized by problem classes to use the proper Name-Element-Editor convention. |
Did some poking, Editors Core.lua BLEInjectElements does not get run at all. Logged MissionElementsModule and that prints, but nothing prints from the inject elements section of Beardlib Core.lua |
The problem with it is that BLEInjectElements hook is added after ElementModule is finished with it's stuff. |
Describe the bug
Describe the bug
MyCustomElement loads and functions properly
MyCustomElementEditor doesnt despite core lua suggesting it should load
The element works ingame but no editor UI functions.
Steps to reproduce the issue
To Reproduce
Steps to reproduce the behavior:
Main.xml add,
Directory elements/MyCustomElement.lua
Log file
No response
Minimal reproduction
No response
The text was updated successfully, but these errors were encountered: