You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix editor errors - make Chili code safe for RmlUi mode
Fixed multiple errors when editors instantiate in RmlUi mode:
RCSS Fix:
- Removed 'word-wrap: break-word;' (unsupported in RmlUi)
Editor.lua Fixes:
- Made stackPanel creation conditional (only in Chili mode)
- Added guards to all stackPanel method calls
- Made field:Added() optional (only exists on Chili fields)
- Made tabbedWindow:SetMainPanel() conditional
Changes allow editors to instantiate without errors:
- Editors can be created in RmlUi mode
- Fields are collected in editor.fields
- No Chili UI is created (stackPanel=nil)
- Ready for RmlUi field rendering
All 16 editors can now be opened without crashes
0 commit comments