Blender Git Commit Log

Git Commits -> Revision bf06f76

Revision bf06f76 by Siddhartha Jejurkar (master)
September 29, 2021, 07:48 (GMT)
UV Editor: Grid and snapping improvements

Implements T89789, T89792, custom grid (described as dynamic grid in
T78389) and UV grid snapping (T78391)
Replaces the default UV editor grid with 2 new types of grid :

* Custom grid: Allows the user to create an NxN grid, where the value
of N is specified by the user.
* Subdividing grid: Subdivides the UV editor grid when the user
zooms in the viewport and vice versa when zooming out.

UV snapping improvements :
* Increment snapping: Increment values for snapping are calculated based
on which grid type is being used in the UV editor
(subdividing or custom). In general the increment value is equal to
the distance between 2 visible grid lines.
* Absolute grid snap: New toggle added to increment snapping option in
the UV editor, allows UV grid snapping during translation.

Reviewed By: campbellbarton

Ref D12684

Commit Details:

Full Hash: bf06f76be6316be92a4655a41391e163d2fb1221
Parent Commit: 008ae26
Committed By: Campbell Barton
Lines Changed: +218, -38

17 Modified Paths:

/release/scripts/startup/bl_ui/space_image.py (+32, -0) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+28, -18) (Diff)
/source/blender/draw/engines/overlay/overlay_grid.c (+13, -3) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+2, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/grid_frag.glsl (+13, -2) (Diff)
/source/blender/editors/include/ED_image.h (+10, -0) (Diff)
/source/blender/editors/space_image/image_draw.c (+60, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+2, -0) (Diff)
/source/blender/editors/transform/transform.c (+11, -2) (Diff)
/source/blender/editors/transform/transform_snap.c (+7, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+4, -3) (Diff)
/source/blender/makesdna/DNA_space_types.h (+11, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+13, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_gamma.cc (+2, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021