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: https://developer.blender.org/D13646

Commit Details:

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

5 Modified Paths:

/source/blender/blenkernel/BKE_animsys.h (+0, -5) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+0, -35) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+2, -2) (Diff)
/source/blender/editors/animation/drivers.c (+5, -5) (Diff)
/source/blender/editors/interface/interface_eyedropper_driver.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021