mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Nodes - Ensure models using scripts always have a script
This commit is contained in:
1 parent
b8077ca589
commit
05d8222991
7 files changed
+78
-56
No files matched your search
+6
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user