Nodes: Panel declarations for grouping sockets #108649
|
@ -3199,7 +3199,6 @@ static void rna_NodeSocketInterface_category_set(PointerRNA *ptr,
|
||||||
|
|
||||||
static bool rna_NodeSocketInterface_category_poll(PointerRNA *ptr, PointerRNA value)
|
static bool rna_NodeSocketInterface_category_poll(PointerRNA *ptr, PointerRNA value)
|
||||||
{
|
{
|
||||||
bNodeSocket *socket = (bNodeSocket *)ptr->data;
|
|
||||||
bNodeTree *ntree = (bNodeTree *)ptr->owner_id;
|
bNodeTree *ntree = (bNodeTree *)ptr->owner_id;
|
||||||
bNodeSocketCategory *category = (bNodeSocketCategory *)value.data;
|
bNodeSocketCategory *category = (bNodeSocketCategory *)value.data;
|
||||||
|
|
||||||
LukasTonne marked this conversation as resolved
Outdated
|
|||||||
|
|
Loading…
Reference in New Issue
Super picky but this newline isn't helpful IMO, better to more closely connect the variable declaration and the null check.