-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VRAM tab tiled UV lines and combo box typing
* Fixed RenderInfo mistakenly losing the MSB of MixtureRate when doing comparisons. * Added shorthand IsTextured property to ModelEntity, so that we don't need to spam `model.RenderFlags.hasFlag(RenderFlags.Textured)` everywhere. * Added IsPageUsed function to VRAMPages, which states if any textures have been drawn to a specific page. * Added ContainsPage function to VRAMPages as a simple bounds test. * Pluralized VRAMPages private fields. * TiledUV now stores its area values in 4 floats, rather than 2 Vector2s. * UV lines now draw in the VRAM tab even if a Sub-model is selected. * UV lines no longer draw for all VRAM pages, only for the current page. * UV lines in the VRAM tab now draw tiled rectangles (cyan colored), rather than useless tile-converted UV lines. * VRAM combo box now shows " (drawn to)" text after page numbers for pages that have had textures drawn to them. * VRAM combo box now accepts typing to instantly change the VRAM page. The page will update as you type, and ignores characters appearing after the digits (to support the " (drawn to)" text of real combo box item names). Pressing Enter, or unfocusing the combo box will fully update the selected index. * VRAM selected page is now stored as a separate field, and updated as needed. This is because when typing to update the current VRAM page, the combo box's SelectedIndex will be -1.
- Loading branch information
1 parent
34ed02e
commit e174354
Showing
9 changed files
with
198 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.