mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Add support for ignoring auto-created instances in sync process
- Introduced a new configuration for ignored class names in Config.lua to streamline the sync process by skipping instances that are auto-created by Roblox, such as TouchTransmitter and Camera. - Updated PatchTree, applyPatch, and diff functions to utilize this configuration, enhancing efficiency by preventing unnecessary processing of these instances.
This commit is contained in:
parent
c5c6bf9a10
commit
3c33054afd
4 changed files with 16 additions and 6 deletions
|
|
@ -16,6 +16,12 @@ for i = 1, 3 do
|
|||
end
|
||||
end
|
||||
|
||||
-- ClassNames to ignore during sync (auto-created by Roblox, not meaningful for sync)
|
||||
local IgnoredClassNames = {
|
||||
TouchTransmitter = true,
|
||||
Camera = true,
|
||||
}
|
||||
|
||||
return strict("Config", {
|
||||
isDevBuild = isDevBuild,
|
||||
codename = "Epiphany",
|
||||
|
|
@ -24,4 +30,5 @@ return strict("Config", {
|
|||
protocolVersion = 5,
|
||||
defaultHost = "localhost",
|
||||
defaultPort = "34872",
|
||||
ignoredClassNames = IgnoredClassNames,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue