Blender Git Commit Log

Git Commits -> Revision 63e50cf

Revision 63e50cf by Philipp Oeser (master)
May 28, 2021, 09:06 (GMT)
Fix T88499: Copy data path operator does not consider library affiliation

When using the operator `ui.copy_data_path_button(full_path=True)` ({key
ctrl shift Alt C} on hover) the copied path does not consider the
library origin. That means that when there is a name clash the data path
is not accurate and refers to the local item instead.

This patch adds the library (if the ID is linked) of the returned string
from RNA_path_full_ID_py.["Cube", "//library.blend"] instead of["Cube"]

note: parsing this happens in

Maniphest Tasks: T88499

Differential Revision:

Commit Details:

Full Hash: 63e50cf265d6f17785ffdf0d0a7220237b054050
Parent Commit: 3ec57ce
Lines Changed: +14, -2

1 Modified Path:

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