mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
syncback
This commit is contained in:
parent
5f91a0777a
commit
3e6a50ce4b
5 changed files with 7 additions and 22 deletions
|
|
@ -272,12 +272,7 @@ encodeInstance = function(instance, parentId, _skipPathCheck)
|
|||
for _ in pairs(properties) do
|
||||
propCount += 1
|
||||
end
|
||||
Log.trace(
|
||||
" Encoded {} with {} properties, {} children",
|
||||
instance.Name,
|
||||
propCount,
|
||||
#children
|
||||
)
|
||||
Log.trace(" Encoded {} with {} properties, {} children", instance.Name, propCount, #children)
|
||||
|
||||
return {
|
||||
parent = parentId,
|
||||
|
|
|
|||
|
|
@ -112,12 +112,7 @@ function ChangeBatcher:__flush()
|
|||
for _ in pairs(patch.added) do
|
||||
addedCount += 1
|
||||
end
|
||||
Log.debug(
|
||||
"Two-way sync: {} updates, {} additions, {} removals",
|
||||
#patch.updated,
|
||||
addedCount,
|
||||
#patch.removed
|
||||
)
|
||||
Log.debug("Two-way sync: {} updates, {} additions, {} removals", #patch.updated, addedCount, #patch.removed)
|
||||
|
||||
return patch
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue