Blender Git Loki

Git Commits -> Revision 9916e01

Revision 9916e01 by Martin Poirier (master)
February 3, 2010, 21:01 (GMT)
New Transform 3D view recalculate scheme.

Only recalculate changes when absolutely necessary (mouse move triggers a soft recalc that will only happen before the next redraw other events trigger hard recalcs). The problem was that mouse moves are reported as lots of events (with small dx,dy) between each redraw which would trigger often heavy recalculations every time while only the last one was really important (the one before the redraw).

This makes snap project (retopo) much more manageable but induces a very small lag equal to one refresh cycle. Confirming transform does a hard refresh, so the final result is always consistent with mouse position.

Commit Details:

Full Hash: 9916e0193c36c7c107f9e5763611235185a8b52c
SVN Revision: 26590
Parent Commit: 845136e
Lines Changed: +62, -38

4 Modified Paths:

/source/blender/editors/transform/transform.c (+50, -35) (Diff)
/source/blender/editors/transform/transform.h (+8, -1) (Diff)
/source/blender/editors/transform/transform_generics.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_input.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021