Blender Git Commit Log

Git Commits -> Revision be60b3b

Revision be60b3b by Germano Cavalcante (master)
February 8, 2021, 12:54 (GMT)
Transform: Grid snap target refactor

The code takes many turns to get a suitable "target" for the snap to grid.

Perhaps there were other reasons awaited for `transformCenter_from_type`
and `TransCenterData center_cache[5]`.

But since nothing is defined, it is better to simplify the code.

No user functional changes

Commit Details:

Full Hash: be60b3b23984ff7a9b973a37800522e4b5e7918f
Parent Commit: bc56c12
Lines Changed: +66, -89

4 Modified Paths:

/source/blender/editors/transform/transform.h (+5, -6) (Diff)
/source/blender/editors/transform/transform_convert.c (+0, -4) (Diff)
/source/blender/editors/transform/transform_generics.c (+0, -24) (Diff)
/source/blender/editors/transform/transform_snap.c (+61, -55) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021