UI: Nodes: Indicate packed status in node editor context path

Ref:
- e6a3328da7
- 4e4976804e
This commit is contained in:
Hans Goudey
2025-09-26 11:11:22 +02:00
parent 4e4976804e
commit ae56ac2cea

View File

@@ -92,7 +92,10 @@ static void context_path_add_node_tree_and_node_groups(const SpaceNode &snode,
}
int icon = ICON_NODETREE;
if (ID_IS_LINKED(&path_item->nodetree->id)) {
if (ID_IS_PACKED(&path_item->nodetree->id)) {
icon = ICON_PACKAGE;
}
else if (ID_IS_LINKED(&path_item->nodetree->id)) {
icon = ICON_LINKED;
}
else if (ID_IS_ASSET(&path_item->nodetree->id)) {