mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-27 23:17:14 +01:00
6c615aeb02
Created base framework and created simple operators
21 lines
372 B
GDScript
21 lines
372 B
GDScript
tool
|
|
extends EditorPlugin
|
|
|
|
var editor = null
|
|
|
|
func _enter_tree():
|
|
editor = preload("res://addons/procedural_material/pm_editor.tscn").instance()
|
|
add_control_to_bottom_panel(editor, "ProceduralMaterial")
|
|
|
|
func _exit_tree():
|
|
remove_control_from_bottom_panel(editor)
|
|
editor.queue_free()
|
|
editor = null
|
|
|
|
func _get_state():
|
|
var s = {}
|
|
return s
|
|
|
|
func _set_state(s):
|
|
pass
|