Bug fixes and improvements.
- Fixed an issue pertaining to implicit value casting in the property reflection. - Removed some unnecessary generated whitespace in the class data. - Added some missing properties to the generated class data. - Moved the Quaternion type into the DataTypes namespace.
This commit is contained in:
Binary file not shown.
@ -391,7 +391,6 @@ local function generateClasses()
|
||||
local firstLine = true
|
||||
table.sort(propNames)
|
||||
|
||||
|
||||
if classTags.Service then
|
||||
writeLine("public %s()", className)
|
||||
openStack()
|
||||
@ -399,8 +398,14 @@ local function generateClasses()
|
||||
writeLine("IsService = true;")
|
||||
closeStack()
|
||||
|
||||
if #propNames > 0 then
|
||||
writeLine()
|
||||
for i, propName in ipairs(propNames) do
|
||||
local prop = propMap[propName]
|
||||
local serial = prop.Serialization
|
||||
|
||||
if serial.CanLoad then
|
||||
writeLine()
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -84,6 +84,23 @@ return
|
||||
}
|
||||
};
|
||||
|
||||
BevelMesh =
|
||||
{
|
||||
Add =
|
||||
{
|
||||
Bevel = "float";
|
||||
Bevel_Roundness = "float";
|
||||
Bulge = "float";
|
||||
};
|
||||
|
||||
Defaults =
|
||||
{
|
||||
Bevel = 0;
|
||||
Bevel_Roundness = 0;
|
||||
Bulge = 0;
|
||||
}
|
||||
};
|
||||
|
||||
BinaryStringValue =
|
||||
{
|
||||
Add =
|
||||
@ -387,6 +404,7 @@ return
|
||||
AssetId = "Content";
|
||||
ChildData = "BinaryString";
|
||||
MeshData = "BinaryString";
|
||||
FormFactor = "Enum:FormFactor";
|
||||
};
|
||||
|
||||
Defaults =
|
||||
@ -394,6 +412,7 @@ return
|
||||
AssetId = "";
|
||||
ChildData = "";
|
||||
MeshData = "";
|
||||
FormFactor = Enum.FormFactor.Custom;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user