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 1 deletions
Showing only changes of commit 5bf853f3aa - Show all commits

View File

@ -3199,7 +3199,6 @@ static void rna_NodeSocketInterface_category_set(PointerRNA *ptr,
static bool rna_NodeSocketInterface_category_poll(PointerRNA *ptr, PointerRNA value)
{
bNodeSocket *socket = (bNodeSocket *)ptr->data;
bNodeTree *ntree = (bNodeTree *)ptr->owner_id;
bNodeSocketCategory *category = (bNodeSocketCategory *)value.data;
LukasTonne marked this conversation as resolved Outdated

Super picky but this newline isn't helpful IMO, better to more closely connect the variable declaration and the null check.

Super picky but this newline isn't helpful IMO, better to more closely connect the variable declaration and the null check.