Backport #868 to 7.4 (custom pivot geter/setter) (#869)

This PR backports some changes to rbx_dom_lua to fix serving model
pivots
This commit is contained in:
Kenneth Loeffler
2024-02-20 12:22:27 -08:00
committed by GitHub
parent f716928683
commit 88efbd433f
5 changed files with 518 additions and 97 deletions

View File

@@ -111,6 +111,18 @@ return {
return true, instance:ScaleTo(value)
end,
},
WorldPivotData = {
read = function(instance)
return true, instance:GetPivot()
end,
write = function(instance, _, value)
if value == nil then
return true, nil
else
return true, instance:PivotTo(value)
end
end,
},
},
Terrain = {
MaterialColors = {