Missing comment part

This commit is contained in:
Wojtek Figat
2023-12-16 18:16:00 +01:00
parent 0dd7e86537
commit 8418ca56e8

View File

@@ -144,7 +144,7 @@ namespace FlaxEditor.Surface
var connections = box.Connections;
if (connections.Count == 0 && box.Archetype.ValueIndex >= 0 && box.ParentNode.Values != null && box.Archetype.ValueIndex < box.ParentNode.Values.Length)
{
// Special case when there is no value but the box has no connection and uses
// Special case when there is no value but the box has no connection and uses default value
var defaultValue = box.ParentNode.Values[box.Archetype.ValueIndex];
if (defaultValue != null)
{