@@ -3850,7 +3850,7 @@ namespace FabricSplice
3850
3850
{
3851
3851
FabricCore::Variant option = getOption (name);
3852
3852
if (!option.isBoolean ())
3853
- return defaultValue;
3853
+ return getIntegerOption (name, defaultValue) != 0 ;
3854
3854
return option.getBoolean ();
3855
3855
}
3856
3856
@@ -3861,19 +3861,19 @@ namespace FabricSplice
3861
3861
if (option.isSInt8 ())
3862
3862
return (int )option.getSInt8 ();
3863
3863
if (option.isSInt16 ())
3864
- return (int )option.getSInt8 ();
3864
+ return (int )option.getSInt16 ();
3865
3865
if (option.isSInt32 ())
3866
- return (int )option.getSInt8 ();
3866
+ return (int )option.getSInt32 ();
3867
3867
if (option.isSInt64 ())
3868
- return (int )option.getSInt8 ();
3868
+ return (int )option.getSInt64 ();
3869
3869
if (option.isUInt8 ())
3870
3870
return (int )option.getUInt8 ();
3871
3871
if (option.isUInt16 ())
3872
- return (int )option.getUInt8 ();
3872
+ return (int )option.getUInt16 ();
3873
3873
if (option.isUInt32 ())
3874
- return (int )option.getUInt8 ();
3874
+ return (int )option.getUInt32 ();
3875
3875
if (option.isUInt64 ())
3876
- return (int )option.getUInt8 ();
3876
+ return (int )option.getUInt64 ();
3877
3877
if (option.isFloat32 ())
3878
3878
return (int )option.getFloat32 ();
3879
3879
if (option.isFloat64 ())
@@ -3888,19 +3888,19 @@ namespace FabricSplice
3888
3888
if (option.isSInt8 ())
3889
3889
return (float )option.getSInt8 ();
3890
3890
if (option.isSInt16 ())
3891
- return (float )option.getSInt8 ();
3891
+ return (float )option.getSInt64 ();
3892
3892
if (option.isSInt32 ())
3893
- return (float )option.getSInt8 ();
3893
+ return (float )option.getSInt32 ();
3894
3894
if (option.isSInt64 ())
3895
- return (float )option.getSInt8 ();
3895
+ return (float )option.getSInt64 ();
3896
3896
if (option.isUInt8 ())
3897
3897
return (float )option.getUInt8 ();
3898
3898
if (option.isUInt16 ())
3899
- return (float )option.getUInt8 ();
3899
+ return (float )option.getUInt16 ();
3900
3900
if (option.isUInt32 ())
3901
- return (float )option.getUInt8 ();
3901
+ return (float )option.getUInt32 ();
3902
3902
if (option.isUInt64 ())
3903
- return (float )option.getUInt8 ();
3903
+ return (float )option.getUInt64 ();
3904
3904
if (option.isFloat32 ())
3905
3905
return (float )option.getFloat32 ();
3906
3906
if (option.isFloat64 ())
0 commit comments