Nodes - Ensure models using scripts always have a script

This commit is contained in:
Robert committed 2021-08-19 16:13:37 +02:00
1 parent b8077ca589
commit 05d8222991
7 files changed
+78 -56

No files matched your search

@@ -13,7 +13,12 @@ namespace Artemis.VisualScripting.Nodes.CustomViewModels
public int Input
{
get => (int) _node.Storage;
get
{
if (_node.Storage is long longInput)
return (int) longInput;
return (int) _node.Storage;
}
set
{
_node.Storage = value;