fix: text curve material loading
This commit is contained in:
parent
5390e1a60c
commit
dfcfb84c20
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user