You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
So here is an enum class : Test.
enum class Test{ Test1, Test2, Test3 }
And I already had :
template<> inline Test convertFromString(StringView str) {...}
.I tested it within the code and it works fine.
But the issue when passing the String "test1" to the InputPort in the Groot2 editor.
It treats that enum class as an integer and I get :
getInput(): Can't convert string [test1] to integer
The The TreeNodesModel XML actually says:
<input_port name="type" type="enum Test"/>
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions