Blender Git Commit Log

Git Commits -> Revision 080f444

Revision 080f444 by Campbell Barton (master)
October 5, 2012, 03:06 (GMT)
Improvements for knife tool execute function (code was a bit sloppy & could leak memory).

- vertex to screenspace projections were not checking for failure to project (vertex behind the view for eg).
- vertex screenspace 2d vectors were each malloc'd and added to own ghash, then fetched for each edge.
now just store a vertex aligned array and do index lookups.
- projections were done in global space, now do them in object space (avoids a matrix multiply).
- error cases were commented out and would fail silently, now report them to the operator.
- remove MAX_CUTS hard coded limit, dynamically allocate the mouse path.
- add missing free calls in error cases.

Commit Details:

Full Hash: 080f4441d2e7538c99c22621991bdd6c11a8476f
SVN Revision: 51064
Parent Commit: 61ce792
Lines Changed: +74, -65

1 Modified Path:

/source/blender/editors/mesh/editmesh_tools.c (+74, -65) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021