Skip to content

Commit

Permalink
updates to consume OasysGH 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristjan Nielsen committed Oct 13, 2023
1 parent 18f2175 commit 861ab1a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DocsGeneration/Setup/GrasshopperFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public GrasshopperFixture() {

InitializeCore();

Utility.SetupUnitsDuringLoad(true);
Utility.SetupUnitsDuringLoad();
}

public void AddPluginToGh() {
Expand Down
2 changes: 1 addition & 1 deletion GsaGH/Components/0_Model/GetModelGeometry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ protected override void RegisterOutputParams(GH_OutputParamManager pManager) {
"3D Members (Design Layer) from GSA Model imported to selected unit", GH_ParamAccess.list);
}

protected override void SolveInstance(IGH_DataAccess data) {
protected override void SolveInternal(IGH_DataAccess data) {
if (InPreSolve) {
GsaModelGoo modelGoo = null;
data.GetData(0, ref modelGoo);
Expand Down
2 changes: 1 addition & 1 deletion GsaGH/GsaGHInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var ghLoadingException
Instances.ComponentServer.AddCategorySymbolName("GSA", 'G');
Instances.ComponentServer.AddCategoryIcon("GSA", Resources.GSALogo);

Utility.InitialiseMainMenuAndDefaultUnits();
Utility.InitialiseMainMenuUnitsAndDependentPluginsCheck();

PostHog.PluginLoaded(PluginInfo.Instance, gsaVersion);

Expand Down
2 changes: 1 addition & 1 deletion GsaGHTests/GrasshopperFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public GrasshopperFixture() {

InitializeCore();

Utility.SetupUnitsDuringLoad(true);
Utility.SetupUnitsDuringLoad();
}

public void AddPluginToGh() {
Expand Down
2 changes: 1 addition & 1 deletion IntegrationTests/GrasshopperFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public GrasshopperFixture() {
InitializeCore();

// setup headless units
Utility.SetupUnitsDuringLoad(true);
Utility.SetupUnitsDuringLoad();
}

// // TODO: override finalizer only if 'Dispose(bool disposing)' has code to free unmanaged resources
Expand Down

0 comments on commit 861ab1a

Please sign in to comment.