Skip to content

Commit 733e924

Browse files
authored
9.0 Deployment (#725)
2 parents 50aa676 + 8a5127e commit 733e924

6 files changed

Lines changed: 14 additions & 12 deletions

File tree

GHManipulator_Alligator/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
// You can specify all the values or you can default the Build and Revision Numbers
5757
// by using the '*' as shown below:
5858
// [assembly: AssemblyVersion("1.0.*")]
59-
[assembly: AssemblyVersion("8.0.0.0")]
60-
[assembly: AssemblyFileVersion("8.3.0.0")]
59+
[assembly: AssemblyVersion("9.0.0.0")]
60+
[assembly: AssemblyFileVersion("9.0.0.0")]
6161

6262

6363

Grasshopper_Engine/Grasshopper_Engine.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFramework>net472</TargetFramework>
5-
<AssemblyVersion>8.0.0.0</AssemblyVersion>
5+
<AssemblyVersion>9.0.0.0</AssemblyVersion>
66
<Description>https://github.com/BHoM/Grasshopper_UI</Description>
77
<Version>5.0.0</Version>
88
<Authors>BHoM</Authors>
99
<Copyright>Copyright © https://github.com/BHoM</Copyright>
1010
<RootNamespace>BH.Engine.Grasshopper</RootNamespace>
11-
<FileVersion>8.3.0.0</FileVersion>
11+
<FileVersion>9.0.0.0</FileVersion>
1212
<OutputPath>..\Build\</OutputPath>
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
</PropertyGroup>

Grasshopper_UI/Grasshopper_UI.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFramework>net472</TargetFramework>
5-
<AssemblyVersion>8.0.0.0</AssemblyVersion>
5+
<AssemblyVersion>9.0.0.0</AssemblyVersion>
66
<Description>https://github.com/BHoM/Grasshopper_UI</Description>
77
<Version>5.0.0</Version>
88
<Authors>BHoM</Authors>
99
<Copyright>Copyright © https://github.com/BHoM</Copyright>
1010
<RootNamespace>BH.UI.Grasshopper</RootNamespace>
11-
<FileVersion>8.3.0.0</FileVersion>
11+
<FileVersion>9.0.0.0</FileVersion>
1212
<OutputPath>..\Build\</OutputPath>
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
<AssemblyName>BH.UI.Grasshopper</AssemblyName>

Grasshopper_UI/Helpers/ToGH_Param.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,8 @@ public static IGH_Param ToGH_Param(this ParamInfo info)
7979
break;
8080
case "System.Int16":
8181
case "System.Int32":
82-
param = new Param_Integer();
83-
break;
8482
case "System.Int64":
85-
param = new Param_Time();
83+
param = new Param_Integer();
8684
break;
8785
case "System.String":
8886
param = new Param_String();

Grasshopper_UI/Helpers/ToGoo.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,11 @@ public static IGH_Goo ToGoo(this int obj)
167167

168168
public static IGH_Goo ToGoo(this long obj)
169169
{
170-
return new GH_Time(new DateTime(obj)); // Based on what is done in CallerComponent.ToGHParam()
170+
int cast = (int)obj;
171+
if (obj != cast)
172+
BH.Engine.Base.Compute.RecordError("Grasshopper does not support 64-bit integers, casting to 32-bit resulted in integer overflow.");
173+
174+
return new GH_Integer(cast);
171175
}
172176

173177
/*************************************/

Grasshopper_oM/Grasshopper_oM.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFramework>net472</TargetFramework>
5-
<AssemblyVersion>8.0.0.0</AssemblyVersion>
5+
<AssemblyVersion>9.0.0.0</AssemblyVersion>
66
<Description>https://github.com/BHoM/Grasshopper_UI</Description>
77
<Version>5.0.0</Version>
88
<Authors>BHoM</Authors>
99
<Copyright>Copyright © https://github.com/BHoM</Copyright>
1010
<RootNamespace>BH.oM.Grasshopper</RootNamespace>
11-
<FileVersion>8.3.0.0</FileVersion>
11+
<FileVersion>9.0.0.0</FileVersion>
1212
<OutputPath>..\Build\</OutputPath>
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
</PropertyGroup>

0 commit comments

Comments
 (0)