Object Editor 4.2.0
What's Changed
- Add "crop images" button and functionality. For any image table, clicking the "Crop images" button will automatically resize all images in the image table to remove any blank/transparent pixels around the edges, minimising the size required for the image. It will also adjust the offsets accordingly. By @LeftofZen in #172
- Add palette remap for image table. This lets the user view remappable objects (eg vehicles) in their remap colours. Note this is for display only, and it will not affect the saving of the image table. By @LeftofZen in #173
- Use absolute path for files in the object viewmodel. This should fix a bug where you open a file from one index, change the index, then attempt to save the first file. By @LeftofZen in #174
- Add a better pan-and-zoom control to the image previewer, as well as make the border and offset display pixel-perfect. By @LeftofZen in f38e7cc
- Allow importing any number of images into objects (previous was locked to having the same number as the existing object). Be careful though! There is currently no automated support for updating the animation, body, bogey, or any other part of the image data. You will need to update these manually! By @LeftofZen in b261174
- Name 2 IndustryObjectFlags values (CanIncreaseProduction and CanDecreaseProduction), by @LeftofZen in 352379c
- Fix CargoFlags to be editable in the UI via checkboxes, not a dropdown. By @LeftofZen in 9ae6691
Full Changelog: 4.1.3...4.2.0