mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-16 08:22:36 +08:00
Fix issue with object patches not being copied with patcher.
This commit is contained in:
parent
cb22d11fc8
commit
7b2806fee6
@ -40,6 +40,7 @@ class ModelPatcher:
|
||||
for k in self.patches:
|
||||
n.patches[k] = self.patches[k][:]
|
||||
|
||||
n.object_patches = self.object_patches.copy()
|
||||
n.model_options = copy.deepcopy(self.model_options)
|
||||
n.model_keys = self.model_keys
|
||||
return n
|
||||
|
||||
Loading…
Reference in New Issue
Block a user