mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Nodes - Serialize node storage ourselves to ignore exceptions
This commit is contained in:
1 parent
a4667fdc03
commit
405d5b756c
5 files changed
+16
-5
No files matched your search
@@ -88,6 +88,9 @@ namespace Artemis.VisualScripting.Nodes
|
||||
|
||||
public override void Evaluate()
|
||||
{
|
||||
if (Storage is double doubleValue)
|
||||
Storage = (float) doubleValue;
|
||||
|
||||
Output.Value = Storage as float? ?? 0.0f;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user