Blender Git Loki

Git Commits -> Revision 4fb7217

Revision 4fb7217 by Jesse Yurkovich (master)
September 3, 2021, 20:03 (GMT)
UDIM: Show the UV grid even when images are loaded

Allow the UDIM grid to be shown and adjusted when there are images
loaded in UV edit mode. Right now the grid feature disappears once an
image is loaded and many have found this to be confusing.

Based on community and artist feedback, there was support to change this
behavior[1]

This patch does the following:
- Allows the grid to be shown even when images are present
- The max allowable dimensions for the grid has been increased from
10x10 to 10x100 to match the underlying maximum UDIM range that blender
supports

Note: This should not affect other Image editor modes like Paint/Mask or
the Render Result viewer etc. Future work in this area is currently
documented in a dedicated design task[2]

[1] https://devtalk.blender.org/t/the-udim-tile-grid-design-and-feedback-thread/20136
[2] https://developer.blender.org/T90913

Differential Revision: https://developer.blender.org/D11860

Commit Details:

Full Hash: 4fb7217043627ce952583d99c4b8537e10ee2903
Parent Commit: 235655e
Lines Changed: +57, -6

1 Added Path:

/source/blender/draw/engines/overlay/shaders/grid_background_frag.glsl (+12, -0) (View)

6 Modified Paths:

/release/scripts/startup/bl_ui/space_image.py (+1, -1) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_grid.c (+14, -4) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+16, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+12, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021