Linux update: Scene browser and hidden window contexts
I've made two major improvements to the editor UI this week. The scene tree is now fully functional, and objects can be dragged around in the scene hierarchy:
Models and prefabs can now be dragged into the viewports from the asset browser, so the editor is near fully functional now.
The X11 windowing system cannot create an OpenGL rendering context on a hidden window. (The same happens on OSX.) On OSX I did a cheesy hack whereby the asset editor windows (the model, texture, material, etc. editors) would get initialized behind the splash screen, which is why there is no option to turn off the splash screen. I decided to do this the right way and restructured the initialization code so that on Linux and Mac, the rendering context does not get created until the first time the asset editor window opens. This gives the program a nice clean start, without a bunch of windows popping up all over the place.
The next thing I will focus on is adjusting the editor to handle the case-sensitive file system properly. My approach here will be to try to just make sure paths are always stored with the correct casing, and I will add a check when files are saved. This will allow the editor to open all the existing maps and files so I can start using it heavily in Linux and complete this project.
- 5
1 Comment
Recommended Comments