Blender Git Loki

Git Commits -> Revision 25b7599

March 14, 2017, 18:08 (GMT)
Initial Commit: Snap System: Store 2d arrays in cached to make the snap test.

This is a branch just fot test. Since storing 2d arrays gives more freedom for code changes and is more efficient.

There are some limitations to this code:
- Any change in view3d, or in the object_matrix, makes it necessary to update the cache (which is not done yet);
- Objects are stored in a ListBase at the time the context is created. This does not guarantee that objects added after its creation are included in the snap.
- Objects deleted after context creation can bring segfault problems.

I will test the performance benefits after.

Commit Details:

Full Hash: 25b75995f8b93eed64ecf47aeab3ff08071b0082
Parent Commit: 76ec329
Lines Changed: +1560, -1281
