bdk-blender/source/blender/blenloader
Philipp Oeser 9ba5d63ed7 Fix #109928: issues adding rigid bodies via just the world collection
Selecting a rigid body world collection is supposed to set up rigid
bodies for all of its mesh members (if they are not rigid bodies
already), expected result would be just the same as if `Object` > `Rigid
Body` > `Add ...` was used.

Doing it via just the world collection had the following issues though:
- calculating mass would crash on such a freshly created rigid body
objects (be1b32e4e4 falsely assumed `ob->rigidbody_object` is always
present on evaluated objects -- without tagging for depsgraph updates
this is not the case though)
- rigid body simulation would not work even on these freshly created
rigid body objects

Now tag bmain relations and object transforms for update to make both of
these work (following code in `BKE_rigidbody_add_object` that is used
when adding these through `Object` > `Rigid Body` > `Add ...`)

Pull Request: blender/blender#109961
2023-07-12 14:42:16 +02:00
..
intern Fix #109928: issues adding rigid bodies via just the world collection 2023-07-12 14:42:16 +02:00
tests Cleanup: Move BKE_node.h to C++ 2023-05-15 15:14:22 +02:00
BLO_blend_defs.h Cleanup: use BLO_CODE_ prefix for BHead codes 2023-04-08 12:42:40 +02:00
BLO_blend_validate.h BLO: move blenloader to C++ 2022-09-15 19:13:13 +02:00
BLO_read_write.h blendfile write: Fix handling of embedded IDs. 2023-04-14 19:20:58 +02:00
BLO_readfile.h Fix #109053: File Append with recursions leads to crash 2023-06-19 16:39:37 +02:00
BLO_undofile.h Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
BLO_writefile.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
CMakeLists.txt Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00