Skip to content

Commit

Permalink
- Fixed regression of commit ec7840f that caused surface comments cre…
Browse files Browse the repository at this point in the history
…ated with "// <text>" to throw an error
  • Loading branch information
Chikinsupu committed Dec 7, 2024
1 parent 82453ac commit e9243d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/Editor/Surface/Archetypes/Tools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1502,9 +1502,10 @@ private static NodeArchetype Noise(ushort id, string name, Type resultType, Type
{
data = new object[]
{
filterText.Substring(2),
new Color(1.0f, 1.0f, 1.0f, 0.2f),
new Float2(400.0f, 400.0f),
filterText.Substring(2), // Title
new Color(1.0f, 1.0f, 1.0f, 0.2f), // Color
new Float2(400.0f, 400.0f), // Size
-1, // Order
};
return true;
}
Expand Down

0 comments on commit e9243d0

Please sign in to comment.