mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix (unreported) Outliner letting you edit path of indirect linked lib shown at 'first level'.
From Gooseberry team request indirect libs were also added at root of 'BlendFile' Outliner view, but that allowed edition of their path, which is useless...
This commit is contained in:
parent
6ddf77f1c0
commit
9307f08986
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ static void do_item_rename(ARegion *ar, TreeElement *te, TreeStoreElem *tselem,
|
|||
else if (tselem->id->lib) {
|
||||
BKE_report(reports, RPT_WARNING, "Cannot edit external libdata");
|
||||
}
|
||||
else if (te->idcode == ID_LI && te->parent) {
|
||||
else if (te->idcode == ID_LI && ((Library *)tselem->id)->parent) {
|
||||
BKE_report(reports, RPT_WARNING, "Cannot edit the path of an indirectly linked library");
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue