Blender Git Commit Log

Git Commits -> Revision 26b2a35

Revision 26b2a35 by Jagannadhan Ravi (master)
July 20, 2021, 16:57 (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: 26b2a35dd44c2782e076514cb972529afb1cca64
Parent Commit: f53ca7e
Committed By: Sebastian Parborg
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