Blender Git Loki

Blender Git "snap_system_store_2d_vectors" branch commits.

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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021