material-maker/addons/procedural_material/paint_tool/paint_window.gd

9 lines
106 B
GDScript

tool
extends WindowDialog
func _ready():
pass
func set_object(o):
$PaintTool.set_mesh(o.name, o.mesh)