Meta - Update RGB.NET

Meta - Fixed warnings
This commit is contained in:
Robert committed 2023-01-11 22:33:47 +01:00
1 parent ef5a9fa88d
commit 166cb888c1
16 files changed
+29 -23

No files matched your search

@@ -117,7 +117,7 @@ public class LayerPropertyNode : Node<LayerPropertyNodeEntity, LayerPropertyNode
/// The bucket might grow a bit over time as the user edits the node but pins won't get lost, enabling undo/redo in the
/// editor.
/// </summary>
private void CreateOrAddOutputPin(Type valueType, string displayName)
private new void CreateOrAddOutputPin(Type valueType, string displayName)
{
// Grab the first pin from the bucket that isn't on the node yet
OutputPin? pin = _pinBucket.FirstOrDefault(p => !Pins.Contains(p));
@@ -9,7 +9,7 @@ namespace Artemis.VisualScripting.Nodes.List;
public class ListOperatorPredicateNode : Node<ListOperatorEntity, ListOperatorPredicateNodeCustomViewModel>, IDisposable
{
private readonly object _scriptLock = new();
private ListOperatorPredicateStartNode _startNode;
private readonly ListOperatorPredicateStartNode _startNode;
public ListOperatorPredicateNode()
{
@@ -65,7 +65,7 @@ public class ListOperatorPredicateNode : Node<ListOperatorEntity, ListOperatorPr
private bool EvaluateItem(object item)
{
if (Script == null || _startNode == null)
if (Script == null)
return false;
_startNode.Item = item;
@@ -100,7 +100,6 @@ public class ListOperatorPredicateNode : Node<ListOperatorEntity, ListOperatorPr
{
Script?.Dispose();
Script = null;
_startNode = null;
}
#endregion