Nodes: Support for input/output sockets in same vertical space #112250
@ -511,6 +511,7 @@ struct NodeInterfacePanelData {
|
||||
|
||||
operator bool() const
|
||||
{
|
||||
/* Panel can only be drawn when state data is available. */
|
||||
LukasTonne marked this conversation as resolved
Outdated
|
||||
return this->state != nullptr && this->runtime != nullptr;
|
||||
}
|
||||
};
|
||||
@ -522,7 +523,7 @@ struct NodeInterfaceSocketData {
|
||||
|
||||
operator bool() const
|
||||
{
|
||||
/* One socket side is enough to be valid. */
|
||||
/* Socket can be drawn if there is an input, or an output, or both. */
|
||||
return this->input != nullptr || this->output != nullptr;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user
These are public members, which shouldn't have the
_
suffix. Same above.