fix: text curve material loading

This commit is contained in:
Swann 2021-12-17 16:13:24 +01:00
parent 5390e1a60c
commit dfcfb84c20

View File

@ -178,10 +178,10 @@ class BlCurve(ReplicatedDatablock):
loader.load(new_spline, spline)
# MATERIAL SLOTS
src_materials = data.get('materials', None)
if src_materials:
load_materials_slots(src_materials, datablock.materials)
# MATERIAL SLOTS
src_materials = data.get('materials', None)
if src_materials:
load_materials_slots(src_materials, datablock.materials)
@staticmethod
def dump(datablock: object) -> dict: