Skip to content

Commit a47199c

Browse files
committed
Fixed typo
1 parent 458527c commit a47199c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/com.alelievr.NodeGraphProcessor/Editor/Views/BaseGraphView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ void UnserializeAndPasteCallback(string operationName, string serializedData)
241241
graph.nodesPerGUID.TryGetValue(sourceGUID, out var sourceNode);
242242
//Call OnNodeCreated on the new fresh copied node
243243
node.createdFromDuplication = true;
244-
node.createWithinGroup = unserializedGroups.Any(g => g.innerNodeGUIDs.Contains(sourceGUID));
244+
node.createdWithinGroup = unserializedGroups.Any(g => g.innerNodeGUIDs.Contains(sourceGUID));
245245
node.OnNodeCreated();
246246
//And move a bit the new node
247247
node.position.position += new Vector2(20, 20);

Assets/com.alelievr.NodeGraphProcessor/Runtime/Elements/BaseNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public abstract class BaseNode
127127
/// <summary>
128128
/// True only when the node was created from a duplicate operation and is inside a group that was also duplicated at the same time.
129129
/// </summary>
130-
public bool createWithinGroup {get; internal set; } = false;
130+
public bool createdWithinGroup {get; internal set; } = false;
131131

132132
[NonSerialized]
133133
internal Dictionary< string, NodeFieldInformation > nodeFields = new Dictionary< string, NodeFieldInformation >();

0 commit comments

Comments
 (0)