Blender Git Commit Log

Git Commits -> Revision be7ce7c

Revision be7ce7c by Sybren A. Stüvel (master)
October 28, 2021, 09:22 (GMT)
View3D Context: use correct data type

`CTX_data_selected_objects()` returns a `ListBase` of
`CollectionPointerLink`, not `PointerRNA`. This caused an alignment
issue, resulting in `owner_id == NULL` reported in T92507. Correcting
the pointer type fixed this.

In the end, the same pointer is used as before this commit, but the way
it is obtained is actually correct.

Commit Details:

Full Hash: be7ce7cb4d7f4b28fffc626e6ac0b3588a5824e3
Parent Commit: 8761699
Lines Changed: +2, -2

1 Modified Path:

/source/blender/editors/space_view3d/space_view3d.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021