Support group nodes #22

Merged
Bogdan Nagirniak merged 18 commits from BogdanNagirniak/blender:matx-group-nodes into matx-export-material 2023-09-18 12:49:19 +02:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 57b0e8abf2 - Show all commits

View File

@ -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

View File

@ -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;