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) loader.load(new_spline, spline)
# MATERIAL SLOTS # MATERIAL SLOTS
src_materials = data.get('materials', None) src_materials = data.get('materials', None)
if src_materials: if src_materials:
load_materials_slots(src_materials, datablock.materials) load_materials_slots(src_materials, datablock.materials)
@staticmethod @staticmethod
def dump(datablock: object) -> dict: def dump(datablock: object) -> dict: