feat: support color ramps interpolation and color_mode

This commit is contained in:
Swann 2020-11-13 14:15:59 +01:00
parent 8f4de7adbf
commit 0f1850bf2c
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -172,7 +172,9 @@ def dump_node(node):
'elements',
'alpha',
'color',
'position'
'position',
'interpolation',
'color_mode'
]
dumped_node['color_ramp'] = ramp_dumper.dump(node.color_ramp)
if hasattr(node, 'mapping'):