Skip to content

Commit

Permalink
final deserialization fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhi committed Dec 17, 2021
1 parent fc9c457 commit 0102e96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified examples/example_file.gh
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Components/7_Process/HoleFiller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void Menu_PanelTypeChanged(object sender, EventArgs e)
{
if (sender is ToolStripMenuItem item && item.Tag is "Filler")
Type = (HoleFillerType)Enum.Parse(typeof(HoleFillerType),item.Text);

this.ExpireSolution(true);
}


Expand Down
4 changes: 2 additions & 2 deletions src/Components/7_Process/IterativeHoleFiller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void Menu_PanelTypeChanged(object sender, EventArgs e)
{
if (sender is ToolStripMenuItem item && item.Tag is "Filler")
type = (HoleFillerType)Enum.Parse(typeof(HoleFillerType), item.Text);

this.ExpireSolution(true);
}

private void contextMenuStrip_Closing(object sender, EventArgs e)
Expand Down Expand Up @@ -116,7 +116,7 @@ protected override void SolveInstance(IGH_DataAccess DA)

public override bool Write(GH_IWriter writer)
{
writer.SetInt32("type", (int)type);
writer.SetInt32("Type", (int)type);

return base.Write(writer);
}
Expand Down

0 comments on commit 0102e96

Please sign in to comment.