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