Blender Git Loki

Git Commits -> Revision 2ae0425

August 9, 2021, 06:16 (GMT)
Speedup rigid body "Copy from Active" operator

If there were lots of selected objects without an existing rigid body,
we would add rigid bodies to them one by one.

This would be slow in python, now we instead do this as a batch
operation in C.

On my (Intel) MacBook it used to take 60 seconds and with this change it
takes about 0.3 seconds.

Reviewed By: Sebastian Parborg

Differential Revision: https://developer.blender.org/D11957

Commit Details:

Full Hash: 2ae04254b374f3648a121f654cd2ecf8c79d8428
Parent Commit: 443ae0f
Committed By: Jeroen Bakker
Lines Changed: +13, -8

1 Modified Path:

/release/scripts/startup/bl_operators/rigidbody.py (+13, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021