Blender Git Commit Log

Git Commits -> Revision 0301df4

Revision 0301df4 by Bastien Montagne (master)
March 18, 2018, 14:37 (GMT)
Fix ugly recursive pattern in RNA PointCache data layout.

PointCache was having a collection of items of PointCache type, having a
collection of items of PointCache type, having...

Nuff said.

For now, chose the 'ugly' way to fix it, that is, the one that changes
nothing to API and scripts using it: we define another 'PointCacheItem'
RNA type for items of our point cache collection, which has exact same
interface as PointCache except for the collection.

This is doomed to be rewritten at some point anyway, not worth spending
time trying to define a really correct data layout for now.

Commit Details:

Full Hash: 0301df40e5b6c51575d7f9013a1a28b901063829
Parent Commit: 368c581
Lines Changed: +54, -33

4 Modified Paths:

/source/blender/makesrna/intern/rna_dynamicpaint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+51, -32) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_smoke.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021