File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff 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 /*************************************/
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments