MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / copy_materials

Function copy_materials

splashsurf_studio/src/utils.py:169–173  ·  view source on GitHub ↗
(source_obj, target_obj)

Source from the content-addressed store, hash-verified

167 return surface
168
169def copy_materials(source_obj, target_obj):
170 materials = source_obj.materials.values()
171 target_obj.materials.clear()
172 for mat in materials:
173 target_obj.materials.append(mat)
174
175def get_args_from_cli_string(cli_string):
176 i = 0

Callers 2

update_reconstructionFunction · 0.85
update_entriesFunction · 0.85

Calls 3

valuesMethod · 0.80
clearMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected