Blender Git Loki

Git Commits -> Revision 025c921

Revision 025c921 by Sybren A. Stüvel (master)
December 23, 2021, 12:49 (GMT)
Cleanup: remove BKE_animdata_driver_path_hack

The `BKE_animdata_driver_path_hack()` function has had almost no effect
since rB51b796ff1528, and basically boils down to:

return base_path ? base_path : RNA_path_from_ID_to_property(ptr, prop);

Since `base_path` was `NULL` in the majority of cases, it's just been
replaced by a direct call to `RNA_path_from_ID_to_property()`. The
conditional now just appears in one remaining case.

This relates to T91387.

Reviewed By: mont29

Differential Revision:

Commit Details:

Full Hash: 025c9214165ca9e43d3c281c326bf4887c32d642
Parent Commit: 00965c9
Lines Changed: +8, -48

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021