Nodes: Panel declarations for grouping sockets #108649

Merged
Lukas Tönne merged 27 commits from LukasTonne/blender:node-socket-categories into main 2023-06-14 18:02:46 +02:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit 4f0b237e50 - Show all commits

View File

@ -3168,7 +3168,6 @@ static PointerRNA rna_NodeSocketInterface_category_get(PointerRNA *ptr)
{
bNodeSocket *socket = (bNodeSocket *)ptr->data;
bNodeTree *ntree = (bNodeTree *)ptr->owner_id;
bNodeSocketCategory *category = ntreeFindSocketCategoryByID(ntree, socket->category_id);
PointerRNA r_ptr;
@ -3199,7 +3198,6 @@ static bool rna_NodeSocketInterface_category_poll(PointerRNA *ptr, PointerRNA va
{
bNodeTree *ntree = (bNodeTree *)ptr->owner_id;
bNodeSocketCategory *category = (bNodeSocketCategory *)value.data;
if (category == NULL) {
return true;
}