mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
This PR backports some changes to rbx_dom_lua to fix serving model pivots
This commit is contained in:
parent
f716928683
commit
88efbd433f
5 changed files with 518 additions and 97 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue