Skip to content

Commit

Permalink
Remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser Greenroyd committed Nov 24, 2022
1 parent 892281d commit 4ed7c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI_Engine/Compute/LogUsage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static string BHoMVersion()

private static void TriggerUsageLog(TriggerLogUsageArgs e)
{
if (m_UsageLogTriggered != null && (!Compute.m_documentOpening || e.SelectedItem.ToString() == "Boolean SetProjectID(System.String)"))
if (m_UsageLogTriggered != null && !Compute.m_documentOpening)
m_UsageLogTriggered.Invoke(null, e); //Force the data to be set if the set project ID component is being run during the script load
}

Expand Down

0 comments on commit 4ed7c98

Please sign in to comment.