Blender Git Loki
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. |