Fix: Node Editor overlay settings cannot be added to Quick Favourites

Add support for the needed node editor "spacedata.overlay" in
WM_context_path_resolve_full.

Part of #113489 (VSE overlay settings require a bit more work, this is
for a later commit).

Pull Request: https://projects.blender.org/blender/blender/pulls/116604
This commit is contained in:
Philipp Oeser
2024-01-09 12:29:28 +01:00
committed by Philipp Oeser
parent 5afd33d129
commit a7f4f86fe5

View File

@@ -569,6 +569,11 @@ static const char *wm_context_member_from_ptr(const bContext *C,
TEST_PTR_DATA_TYPE("space_data.dopesheet", RNA_DopeSheet, ptr, ads);
break;
}
case SPACE_NODE: {
const SpaceNode *snode = (SpaceNode *)space_data;
TEST_PTR_DATA_TYPE("space_data.overlay", RNA_SpaceNodeOverlay, ptr, snode);
break;
}
}
}