mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Merge branch 'development'
This commit is contained in:
commit
b673680368
1 file changed
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
using Artemis.Core;
|
using Artemis.Core;
|
||||||
|
|
||||||
namespace Artemis.VisualScripting.Nodes.Conversion;
|
namespace Artemis.VisualScripting.Nodes.Conversion;
|
||||||
|
|
||||||
@@ -33,6 +33,7 @@ public class ConvertToNumericNode : Node
|
|||||||
double input => new Numeric(input),
|
double input => new Numeric(input),
|
||||||
float input => new Numeric(input),
|
float input => new Numeric(input),
|
||||||
byte input => new Numeric(input),
|
byte input => new Numeric(input),
|
||||||
|
bool input => new Numeric(input ? 1 : 0),
|
||||||
_ => TryParse(Input.Value)
|
_ => TryParse(Input.Value)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user