branchsbox/texture-editorcancel
4 Commits over 0 Days - ∞cph!
Load sheet data from vtex json
Load from sheet data if we have more than 1 image
Trim the bullshit from vtex json, we only care about 2D and sprite sheets for now
Creating texture through context menu with multiple selected textures creates sheet
Custom button drawing for list property so they don't look awful
If we open editor with vtex with dmx encoding, just create empty texture file
Property sheet target can now just be the texture file
Only mark as modified if json has changed
Hook up properties to texture file settings we care about for 2D
Restore unmodified file on close if file has been modified and not saved
Allow windows to bypass closing (for save prompts etc)
Throw up save prompt when closing with unsaved changes
Add asset browser for quick drag drop of images
Use tab widget for 2d, array, cube types
Don't save if there's been no unsaved changes
Render texture in viewport preview
Support vtex in asset preview widget
Properties dock
Editor window for vtex
Load vtex from kv3 so we can load from json
Serialize a test texture to test loading from json
Deserialize texture file from vtex
Serialize and write to file on save
Add "Create Texture" to image context menu