This commit is contained in:
2026-01-22 00:06:13 +08:00
parent f26fc95ea3
commit ed7476e54b
316 changed files with 4962 additions and 14039 deletions

View File

@@ -49,7 +49,7 @@ class LayersTransfer(Object):
def calc_influences_mapping_as_flat_list(self):
mapping_pairs = list(self.influences_mapping.asIntIntMapping(self.influences_mapping.calculate()).items())
if len(mapping_pairs) == 0:
raise Exception("no mapping between source and destination influences")
raise Exception("源和目标影响之间没有映射")
# convert dict to flat array
return list(itertools.chain.from_iterable(mapping_pairs))