mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Fix set_input_properties and set_output_properties in MMNode.
This commit is contained in:
parent
aedd8ee5d1
commit
c6d7e7c112
@ -26,7 +26,7 @@ Vector<Variant> MMNode::get_input_properties() {
|
||||
void MMNode::set_input_properties(const Vector<Variant> &val) {
|
||||
input_properties.clear();
|
||||
for (int i = 0; i < val.size(); i++) {
|
||||
Ref<MMNode> e = Ref<MMNode>(val[i]);
|
||||
Ref<MMNodeUniversalProperty> e = Ref<MMNodeUniversalProperty>(val[i]);
|
||||
input_properties.push_back(e);
|
||||
}
|
||||
}
|
||||
@ -42,7 +42,7 @@ Vector<Variant> MMNode::get_output_properties() {
|
||||
void MMNode::set_output_properties(const Vector<Variant> &val) {
|
||||
output_properties.clear();
|
||||
for (int i = 0; i < val.size(); i++) {
|
||||
Ref<MMNode> e = Ref<MMNode>(val[i]);
|
||||
Ref<MMNodeUniversalProperty> e = Ref<MMNodeUniversalProperty>(val[i]);
|
||||
output_properties.push_back(e);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user