forked from solstice/solstice
Fix type issues with struct access
This commit is contained in:
@@ -73,6 +73,7 @@ namespace Solstice {
|
|||||||
|
|
||||||
std::string checkNodeReturnType(SolNode i) {
|
std::string checkNodeReturnType(SolNode i) {
|
||||||
switch (i.nodeType) {
|
switch (i.nodeType) {
|
||||||
|
case SolNodeType::In:
|
||||||
case SolNodeType::Identifier: {
|
case SolNodeType::Identifier: {
|
||||||
if (variables.find(i.outputId) != variables.end()) {
|
if (variables.find(i.outputId) != variables.end()) {
|
||||||
return variables[i.outputId];
|
return variables[i.outputId];
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ puts e
|
|||||||
puts dingus
|
puts dingus
|
||||||
|
|
||||||
puts e.x
|
puts e.x
|
||||||
puts e.y
|
println(e.y)
|
||||||
|
|||||||
Reference in New Issue
Block a user