deleteSelection when an output node had multiple connections only the first one was deleted, needed a new function to return a vector of connections that are now looped and deleted at the end of delete selection.

few other minor additions and fixes.
This commit is contained in:
marauder2k7 2024-03-07 17:22:48 +00:00
parent dbbd9383e7
commit d9c4269d8b
8 changed files with 137 additions and 32 deletions

View file

@ -22,15 +22,19 @@
#include "platform/platform.h"
#include "gui/shaderEditor/nodes/materialOutputNode.h"
IMPLEMENT_CONOBJECT(MaterialOutputNode);
//-----------------------------------------------------------------
// BRDF Output Node.
//-----------------------------------------------------------------
ConsoleDocClass(MaterialOutputNode,
IMPLEMENT_CONOBJECT(BRDFOutputNode);
ConsoleDocClass(BRDFOutputNode,
"@brief Deferred Material output.\n\n"
"Editor use only.\n\n"
"@internal"
);
MaterialOutputNode::MaterialOutputNode()
BRDFOutputNode::BRDFOutputNode()
: GuiShaderNode()
{
mNodeType = NodeTypes::Output;