Nodes - Save data binding node scripts

This commit is contained in:
Robert committed 2021-08-25 15:32:58 +02:00
1 parent 3874078f16
commit bd3bf20d92
6 files changed
+27 -26

No files matched your search

@@ -211,6 +211,8 @@ namespace Artemis.Core
{
if (_disposed)
throw new ObjectDisposedException("DataBinding");
IsEnabled = Entity.IsEnabled;
}
/// <inheritdoc />
@@ -229,6 +231,7 @@ namespace Artemis.Core
throw new ObjectDisposedException("DataBinding");
Script.Save();
Entity.IsEnabled = IsEnabled;
Entity.NodeScript = Script?.Entity;
}