branchrust_reboot/main/iconrender_improvements/batchcancel
22 Commits over 61 Days - 0.02cph!
Fix wearables not rendering their icon to the existing item icon
- search for ItemModWearable to connect Wearable <-> Item
Also search for wearables when generating PropRenderer manifest
- display progress bar when generating manifest to give you hope it's working
Ensure rendering a single icon and rendering every selected icon goes through the same path of code
Hook up "Save" button in the icon renderer window to the "Update existing icon" button functionality
Re-add old icon renderer scene as "IconRenderOld" incase we need to grab settings from the old scene / export rendering settings from scene -> prefabs
Reduce super sampling of preview window from 4x -> 2x so it's slightly faster
Render screenshot once every 5 frames to the preview window so it doesn't lag the editor and make editor controls annoying to use
Switch from showing the scene view in the preview window to running the Screenshot() method every frame
- applies all the rendering settings the screenshots have that the screen doesn't (such as black outline)
Fix destroying and recreating render textures over and over until it starts throwing errors
Delete all prop renderers in the scene when switching the selected prefab
- fixes renderer objects not being deleted after the editor window is closed and reopened
Can now select prefabs, modify their values in the custom inspector and have them update the render
Fix preview window not redrawing every frame
Update icon renderer manifest
Spawn the prefab in the scene when you click it instead of setting one to active
Delete every prefab (except rendering ones) inside the IconRenderer scene, instead store the renderering setting in the PropRenderer component on the source prefab
Fix destroyed PropRenderer causing NRE and failing to draw window
Update iconrenderer_improvements/batch
Split into multiple windows so the inspector and preview window can be resized instead of being a fixed size
- allow skins to be selected with a dedicated "Preview" button until I find a hook for the ObjectFields being clicked
Prevent IconScene from being saveable
- can toggle via `Tools/IconRender/Allow Saving Scene`
Show preview of the icon on the right side of the window
- pull texture from Game window with a render texture
- will have inspector to change render icons below
update iconrender_improvements/batch
merge from iconrender_improvements -> iconrender_improvements/batch