mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
bcdac09cd7
Basic import plugin works. Added gradient parameter to custom node. hsv_adjust now supports alpha channel. Remove deprecated scenes.
19 lines
305 B
GDScript
19 lines
305 B
GDScript
tool
|
|
extends HBoxContainer
|
|
|
|
onready var default = $Default
|
|
|
|
func _ready():
|
|
pass
|
|
|
|
func get_model_data():
|
|
var data = {}
|
|
data.default = default.value.serialize()
|
|
return data
|
|
|
|
func set_model_data(data):
|
|
if data.has("default"):
|
|
var v = MMGradient.new()
|
|
v.deserialize(data.default)
|
|
default.value = v
|