Skip to content

Object Editor 3.8.0

Compare
Choose a tag to compare
@LeftofZen LeftofZen released this 14 Nov 13:49
· 269 commits to master since this release

What's Changed

UI

  • Added a dialog window to view and edit program settings. This lets you edit the program settings in-editor rather than manually in the text file like previous. Accessible from the menu Settings -> Edit settings. Done by @LeftofZen in #134
  • Added a "Download new version" button to take you straight to this page when new versions are released. Of course, the button won't be visible until the next release since its visibility is conditional on there being a newer release. Done by @LeftofZen in #135
  • Not UI specifically, but now when viewing objects from the object service in the Online tab, these objects will automatically save to your download folder, and they'll be the original DAT file, not the uncompressed version you get from the "Download" button. They will have randomly assigned names though (to avoid the duplicate DAT name issue), so be warned. Done by @LeftofZen in 8e18cf0

Viewmodels

A "viewmodel" is how the UI interacts with the actual data in the object editor. Currently all objects except Vehicle and TownNames use an auto-generated one, which works for basic properties but it doesn't work for complex properties and arrays/lists/collections.
Adding handcrafted viewmodels means we can specify exactly how the UI should look for every part of any object, and this means support for all those previously uneditable array properties. Airport, Industry and Building objects are 3 of the most complex objects, and all got dedicated viewmodels!

Please note though, some of these objects, especially Airport, contain a lot of data and can load slowly in the UI when you click on one to preview. It should only take 5-10 seconds, but it is slower than previous versions.

Bug fixes

  • Fix bug where final image with DuplicatePrevious went out of bounds by @LeftofZen in #132
  • Fix a crash when there are non-object-dat files in the folder you give it to index, by @LeftofZen in 9bcc8ba

Object Service

You can now query for a list of scenarios at /scenarios/list. Note there are no custom scenarios, only a few vanilla ones. This part of the service needs more work, but lots of progress has been made already! Downloading of them will come next as well.

Full Changelog: 3.7.0...3.8.0