Blender Git Commit Log

Git Commits -> Revision 1825e67

Revision 1825e67 by Germano Cavalcante (master)
April 18, 2021, 23:07 (GMT)
Transform Snap Object: Improve code that detects updates

The previous code had unclear hacks to avoid updating while transforming,
it was also duplicated in two functions causing an inconsistent
initialization of the looptris bvhtree (which could even generate
unpredictable snapping results).

Now, detection update and inicializatiom of common members are contained in
`snap_object_data_mesh_get` and `snap_object_data_editmesh_get`.

Also, the "Hack to avoid updating while transforming" is more evident.

Commit Details:

Full Hash: 1825e67deaf7af318a47589ccca800b82f6c65d2
Parent Commit: c8dd684
Lines Changed: +116, -134

1 Modified Path:

/source/blender/editors/transform/transform_snap_object.c (+116, -134) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021