Blender Git Commit Log

Git Commits -> Revision 9744ca0

July 30, 2021, 14:56 (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: 9744ca099e384af6b358a4707d6b52c59c42c5f0
Parent Commit: 2c75332
Committed By: Fabian Schempp
Lines Changed: +13, -8

1 Modified Path:

/release/scripts/startup/bl_operators/rigidbody.py (+13, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021