Blender Git Loki

Git Commits -> Revision 39ce10c

Revision 39ce10c by Lukas Toenne (particles_refactor)
April 22, 2014, 09:23 (GMT)
Added a new attribute type 'POINTER', for storing rigid body pointers.
This may not be the best way to map rigid bodies to particles,
eventually a nicer way could be to make use of the userpointer in Bullet
btRigidBody and store a weak reference to Blender types there instead.
Storing rigid body pointers in the particles just mimicks the way the
Object RBs work atm.

The pointer attribute gets a flag 'TEMPORARY' to prevent it from being
stored in the cache and .blend files, since it's only valid during the
Bullet stepping anyway.

Commit Details:

Full Hash: 39ce10c2f5d172f1bd477648bce50e936b734d79
Parent Commit: b6ff000
Lines Changed: +9, -2

2 Modified Paths:

/source/blender/blenkernel/intern/nparticle.c (+5, -0) (Diff)
/source/blender/makesdna/DNA_nparticle_types.h (+4, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021