added IDs to parameters for serialization
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
SolidGenerator::SolidGenerator() :
|
||||
texture_(nullptr)
|
||||
{
|
||||
color_input_ = new NodeInput();
|
||||
color_input_ = new NodeInput("color_in");
|
||||
color_input_->add_data_input(NodeParam::kColor);
|
||||
AddParameter(color_input_);
|
||||
|
||||
texture_output_ = new NodeOutput();
|
||||
texture_output_ = new NodeOutput("tex_out");
|
||||
texture_output_->set_data_type(NodeOutput::kTexture);
|
||||
AddParameter(texture_output_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user