forked from blender/blender
Support group nodes #22
@ -77,8 +77,7 @@ NodeItem GroupOutputNodeParser::compute_full()
|
|||||||
|
|
||||||
NodeItem GroupInputNodeParser::compute()
|
NodeItem GroupInputNodeParser::compute()
|
||||||
{
|
{
|
||||||
//auto in = graph_->addInput();
|
return group_parser_->get_input_default(socket_out_->index(), to_type_);
|
||||||
return empty();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace blender::nodes::materialx
|
} // namespace blender::nodes::materialx
|
||||||
|
@ -8,7 +8,11 @@
|
|||||||
|
|
||||||
namespace blender::nodes::materialx {
|
namespace blender::nodes::materialx {
|
||||||
|
|
||||||
|
class GroupInputNodeParser;
|
||||||
|
|
||||||
class GroupNodeParser : public NodeParser {
|
class GroupNodeParser : public NodeParser {
|
||||||
|
friend GroupInputNodeParser;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using NodeParser::NodeParser;
|
using NodeParser::NodeParser;
|
||||||
NodeItem compute() override;
|
NodeItem compute() override;
|
||||||
|
Loading…
Reference in New Issue
Block a user