From 29742f36cf30a720e3c99c018a650892b720f44d Mon Sep 17 00:00:00 2001 From: RodZill4 Date: Mon, 27 Jan 2020 08:17:18 +0100 Subject: [PATCH] Moved the library and fixed a few gdscript files --- material_maker/library.gd | 2 +- .../library/.gdignore | 0 .../library/base.json | 0 .../library/base/3d_box.png | Bin .../library/base/3d_sdf_operators_boolean.png | Bin .../library/base/3d_sdf_operators_circlerepeat.png | Bin .../library/base/3d_sdf_operators_extrusion.png | Bin .../library/base/3d_sdf_operators_morph.png | Bin .../library/base/3d_sdf_operators_repeat.png | Bin .../library/base/3d_sdf_operators_revolution.png | Bin .../library/base/3d_sdf_operators_rounded.png | Bin .../library/base/3d_sdf_operators_smoothboolean.png | Bin .../library/base/3d_sdf_render.png | Bin .../library/base/3d_sdf_shapes_box.png | Bin .../library/base/3d_sdf_shapes_capsule.png | Bin .../library/base/3d_sdf_shapes_cone.png | Bin .../library/base/3d_sdf_shapes_cylinder.png | Bin .../library/base/3d_sdf_shapes_sphere.png | Bin .../library/base/3d_sdf_shapes_torus.png | Bin .../library/base/3d_sdf_transforms_rotate.png | Bin .../library/base/3d_sdf_transforms_scale.png | Bin .../library/base/3d_sdf_transforms_translate.png | Bin .../library/base/3d_sphere.png | Bin .../base/filter_adjusthsv_brightnesscontrast.png | Bin .../library/base/filter_blend.png | Bin .../library/base/filter_blur.png | Bin .../library/base/filter_blur_directional.png | Bin .../library/base/filter_brightnesscontrast.png | Bin .../library/base/filter_colorize.png | Bin .../library/base/filter_colorize_invert.png | Bin .../library/base/filter_colorize_rainbow.png | Bin .../library/base/filter_edge_detect.png | Bin .../base/filter_edge_detect_axis_aligned.png | Bin .../library/base/filter_edge_detect_diagonal.png | Bin .../library/base/filter_emboss.png | Bin .../library/base/filter_greyscale.png | Bin .../library/base/filter_invert.png | Bin .../library/base/filter_normal_map.png | Bin .../library/base/filter_occlusion.png | Bin .../library/base/filter_quantize.png | Bin .../library/base/filter_sharpen.png | Bin .../library/base/filter_swapchannels.png | Bin .../library/base/miscellaneous_buffer.png | Bin .../library/base/miscellaneous_comment.png | Bin .../library/base/miscellaneous_custom_shader.png | Bin .../library/base/miscellaneous_debug.png | Bin .../library/base/miscellaneous_export.png | Bin .../library/base/miscellaneous_remote.png | Bin .../library/base/miscellaneous_switch.png | Bin .../library/base/noise.png | Bin .../library/base/noise_color.png | Bin .../library/base/noise_perlin.png | Bin .../library/base/noise_perlin_color.png | Bin .../library/base/noise_perlin_warp1.png | Bin .../library/base/noise_perlin_warp2.png | Bin .../library/base/noise_voronoi.png | Bin .../library/base/pattern_beehive.png | Bin .../library/base/pattern_bricks.png | Bin .../library/base/pattern_bricks_basketweave.png | Bin .../library/base/pattern_bricks_herringbone.png | Bin .../library/base/pattern_bricks_spanishbond.png | Bin .../library/base/pattern_bricks_tiles.png | Bin .../library/base/pattern_fibers.png | Bin .../library/base/pattern_generic.png | Bin .../library/base/pattern_generic_checkerboard.png | Bin .../library/base/pattern_runes.png | Bin .../library/base/pattern_scratches.png | Bin .../library/base/pattern_truchet.png | Bin .../library/base/pattern_weave.png | Bin .../library/base/simple_gradient.png | Bin .../library/base/simple_gradient_circular.png | Bin .../library/base/simple_gradient_radial.png | Bin .../library/base/simple_image.png | Bin .../base/simple_sdf_operators_sdannularshape.png | Bin .../library/base/simple_sdf_operators_sdboolean.png | Bin .../library/base/simple_sdf_operators_sdmorph.png | Bin .../base/simple_sdf_operators_sdroundedshape.png | Bin .../base/simple_sdf_operators_sdsmoothboolean.png | Bin .../library/base/simple_sdf_sdshow.png | Bin .../library/base/simple_sdf_shapes_sdarc.png | Bin .../library/base/simple_sdf_shapes_sdbox.png | Bin .../library/base/simple_sdf_shapes_sdcircle.png | Bin .../library/base/simple_sdf_shapes_sdline.png | Bin .../library/base/simple_sdf_shapes_sdrhombus.png | Bin .../library/base/simple_sdf_transforms_rotate.png | Bin .../library/base/simple_sdf_transforms_scale.png | Bin .../base/simple_sdf_transforms_translate.png | Bin .../library/base/simple_shape.png | Bin .../library/base/simple_shape_circle.png | Bin .../library/base/simple_shape_curved_star.png | Bin .../library/base/simple_shape_rays.png | Bin .../library/base/simple_shape_star.png | Bin .../library/base/simple_uniform.png | Bin .../library/base/simple_uniform_greyscale.png | Bin .../library/base/transform.png | Bin .../library/base/transform_circlemap.png | Bin .../library/base/transform_customuv.png | Bin .../library/base/transform_kaleidoscope.png | Bin .../library/base/transform_mirror.png | Bin .../library/base/transform_warp.png | Bin .../library/base/workflow_applymap.png | Bin .../library/base/workflow_createmap.png | Bin .../library/base/workflow_materials_marble.png | Bin .../library/base/workflow_materials_metal.png | Bin .../library/base/workflow_materials_template.png | Bin .../library/base/workflow_materials_wood.png | Bin .../library/base/workflow_mix.png | Bin .../library/base/workflow_mixmap.png | Bin .../library/base/workflow_output.png | Bin material_maker/main_window.gd | 6 +++--- material_maker/nodes/generic.gd | 2 +- material_maker/nodes/ios.gd | 4 ++-- material_maker/widgets/gradient_editor.gd | 2 +- .../widgets/node_editor/parameter_enum.gd | 4 ++-- 114 files changed, 10 insertions(+), 10 deletions(-) rename {addons/material_maker => material_maker}/library/.gdignore (100%) rename {addons/material_maker => material_maker}/library/base.json (100%) rename {addons/material_maker => material_maker}/library/base/3d_box.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_boolean.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_circlerepeat.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_extrusion.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_morph.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_repeat.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_revolution.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_rounded.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_operators_smoothboolean.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_render.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_shapes_box.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_shapes_capsule.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_shapes_cone.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_shapes_cylinder.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_shapes_sphere.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_shapes_torus.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_transforms_rotate.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_transforms_scale.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sdf_transforms_translate.png (100%) rename {addons/material_maker => material_maker}/library/base/3d_sphere.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_adjusthsv_brightnesscontrast.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_blend.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_blur.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_blur_directional.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_brightnesscontrast.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_colorize.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_colorize_invert.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_colorize_rainbow.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_edge_detect.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_edge_detect_axis_aligned.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_edge_detect_diagonal.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_emboss.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_greyscale.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_invert.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_normal_map.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_occlusion.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_quantize.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_sharpen.png (100%) rename {addons/material_maker => material_maker}/library/base/filter_swapchannels.png (100%) rename {addons/material_maker => material_maker}/library/base/miscellaneous_buffer.png (100%) rename {addons/material_maker => material_maker}/library/base/miscellaneous_comment.png (100%) rename {addons/material_maker => material_maker}/library/base/miscellaneous_custom_shader.png (100%) rename {addons/material_maker => material_maker}/library/base/miscellaneous_debug.png (100%) rename {addons/material_maker => material_maker}/library/base/miscellaneous_export.png (100%) rename {addons/material_maker => material_maker}/library/base/miscellaneous_remote.png (100%) rename {addons/material_maker => material_maker}/library/base/miscellaneous_switch.png (100%) rename {addons/material_maker => material_maker}/library/base/noise.png (100%) rename {addons/material_maker => material_maker}/library/base/noise_color.png (100%) rename {addons/material_maker => material_maker}/library/base/noise_perlin.png (100%) rename {addons/material_maker => material_maker}/library/base/noise_perlin_color.png (100%) rename {addons/material_maker => material_maker}/library/base/noise_perlin_warp1.png (100%) rename {addons/material_maker => material_maker}/library/base/noise_perlin_warp2.png (100%) rename {addons/material_maker => material_maker}/library/base/noise_voronoi.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_beehive.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_bricks.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_bricks_basketweave.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_bricks_herringbone.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_bricks_spanishbond.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_bricks_tiles.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_fibers.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_generic.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_generic_checkerboard.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_runes.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_scratches.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_truchet.png (100%) rename {addons/material_maker => material_maker}/library/base/pattern_weave.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_gradient.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_gradient_circular.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_gradient_radial.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_image.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_operators_sdannularshape.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_operators_sdboolean.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_operators_sdmorph.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_operators_sdroundedshape.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_operators_sdsmoothboolean.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_sdshow.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_shapes_sdarc.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_shapes_sdbox.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_shapes_sdcircle.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_shapes_sdline.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_shapes_sdrhombus.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_transforms_rotate.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_transforms_scale.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_sdf_transforms_translate.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_shape.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_shape_circle.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_shape_curved_star.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_shape_rays.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_shape_star.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_uniform.png (100%) rename {addons/material_maker => material_maker}/library/base/simple_uniform_greyscale.png (100%) rename {addons/material_maker => material_maker}/library/base/transform.png (100%) rename {addons/material_maker => material_maker}/library/base/transform_circlemap.png (100%) rename {addons/material_maker => material_maker}/library/base/transform_customuv.png (100%) rename {addons/material_maker => material_maker}/library/base/transform_kaleidoscope.png (100%) rename {addons/material_maker => material_maker}/library/base/transform_mirror.png (100%) rename {addons/material_maker => material_maker}/library/base/transform_warp.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_applymap.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_createmap.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_materials_marble.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_materials_metal.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_materials_template.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_materials_wood.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_mix.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_mixmap.png (100%) rename {addons/material_maker => material_maker}/library/base/workflow_output.png (100%) diff --git a/material_maker/library.gd b/material_maker/library.gd index a422354..148f2f6 100644 --- a/material_maker/library.gd +++ b/material_maker/library.gd @@ -11,7 +11,7 @@ func _ready() -> void: tree.set_column_min_width(1, 32) var lib_path = OS.get_executable_path().get_base_dir()+"/library/base.json" if !add_library(lib_path): - add_library("res://addons/material_maker/library/base.json") + add_library("res://material_maker/library/base.json") add_library("user://library/user.json") update_tree() diff --git a/addons/material_maker/library/.gdignore b/material_maker/library/.gdignore similarity index 100% rename from addons/material_maker/library/.gdignore rename to material_maker/library/.gdignore diff --git a/addons/material_maker/library/base.json b/material_maker/library/base.json similarity index 100% rename from addons/material_maker/library/base.json rename to material_maker/library/base.json diff --git a/addons/material_maker/library/base/3d_box.png b/material_maker/library/base/3d_box.png similarity index 100% rename from addons/material_maker/library/base/3d_box.png rename to material_maker/library/base/3d_box.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_boolean.png b/material_maker/library/base/3d_sdf_operators_boolean.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_boolean.png rename to material_maker/library/base/3d_sdf_operators_boolean.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_circlerepeat.png b/material_maker/library/base/3d_sdf_operators_circlerepeat.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_circlerepeat.png rename to material_maker/library/base/3d_sdf_operators_circlerepeat.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_extrusion.png b/material_maker/library/base/3d_sdf_operators_extrusion.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_extrusion.png rename to material_maker/library/base/3d_sdf_operators_extrusion.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_morph.png b/material_maker/library/base/3d_sdf_operators_morph.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_morph.png rename to material_maker/library/base/3d_sdf_operators_morph.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_repeat.png b/material_maker/library/base/3d_sdf_operators_repeat.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_repeat.png rename to material_maker/library/base/3d_sdf_operators_repeat.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_revolution.png b/material_maker/library/base/3d_sdf_operators_revolution.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_revolution.png rename to material_maker/library/base/3d_sdf_operators_revolution.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_rounded.png b/material_maker/library/base/3d_sdf_operators_rounded.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_rounded.png rename to material_maker/library/base/3d_sdf_operators_rounded.png diff --git a/addons/material_maker/library/base/3d_sdf_operators_smoothboolean.png b/material_maker/library/base/3d_sdf_operators_smoothboolean.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_operators_smoothboolean.png rename to material_maker/library/base/3d_sdf_operators_smoothboolean.png diff --git a/addons/material_maker/library/base/3d_sdf_render.png b/material_maker/library/base/3d_sdf_render.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_render.png rename to material_maker/library/base/3d_sdf_render.png diff --git a/addons/material_maker/library/base/3d_sdf_shapes_box.png b/material_maker/library/base/3d_sdf_shapes_box.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_shapes_box.png rename to material_maker/library/base/3d_sdf_shapes_box.png diff --git a/addons/material_maker/library/base/3d_sdf_shapes_capsule.png b/material_maker/library/base/3d_sdf_shapes_capsule.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_shapes_capsule.png rename to material_maker/library/base/3d_sdf_shapes_capsule.png diff --git a/addons/material_maker/library/base/3d_sdf_shapes_cone.png b/material_maker/library/base/3d_sdf_shapes_cone.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_shapes_cone.png rename to material_maker/library/base/3d_sdf_shapes_cone.png diff --git a/addons/material_maker/library/base/3d_sdf_shapes_cylinder.png b/material_maker/library/base/3d_sdf_shapes_cylinder.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_shapes_cylinder.png rename to material_maker/library/base/3d_sdf_shapes_cylinder.png diff --git a/addons/material_maker/library/base/3d_sdf_shapes_sphere.png b/material_maker/library/base/3d_sdf_shapes_sphere.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_shapes_sphere.png rename to material_maker/library/base/3d_sdf_shapes_sphere.png diff --git a/addons/material_maker/library/base/3d_sdf_shapes_torus.png b/material_maker/library/base/3d_sdf_shapes_torus.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_shapes_torus.png rename to material_maker/library/base/3d_sdf_shapes_torus.png diff --git a/addons/material_maker/library/base/3d_sdf_transforms_rotate.png b/material_maker/library/base/3d_sdf_transforms_rotate.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_transforms_rotate.png rename to material_maker/library/base/3d_sdf_transforms_rotate.png diff --git a/addons/material_maker/library/base/3d_sdf_transforms_scale.png b/material_maker/library/base/3d_sdf_transforms_scale.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_transforms_scale.png rename to material_maker/library/base/3d_sdf_transforms_scale.png diff --git a/addons/material_maker/library/base/3d_sdf_transforms_translate.png b/material_maker/library/base/3d_sdf_transforms_translate.png similarity index 100% rename from addons/material_maker/library/base/3d_sdf_transforms_translate.png rename to material_maker/library/base/3d_sdf_transforms_translate.png diff --git a/addons/material_maker/library/base/3d_sphere.png b/material_maker/library/base/3d_sphere.png similarity index 100% rename from addons/material_maker/library/base/3d_sphere.png rename to material_maker/library/base/3d_sphere.png diff --git a/addons/material_maker/library/base/filter_adjusthsv_brightnesscontrast.png b/material_maker/library/base/filter_adjusthsv_brightnesscontrast.png similarity index 100% rename from addons/material_maker/library/base/filter_adjusthsv_brightnesscontrast.png rename to material_maker/library/base/filter_adjusthsv_brightnesscontrast.png diff --git a/addons/material_maker/library/base/filter_blend.png b/material_maker/library/base/filter_blend.png similarity index 100% rename from addons/material_maker/library/base/filter_blend.png rename to material_maker/library/base/filter_blend.png diff --git a/addons/material_maker/library/base/filter_blur.png b/material_maker/library/base/filter_blur.png similarity index 100% rename from addons/material_maker/library/base/filter_blur.png rename to material_maker/library/base/filter_blur.png diff --git a/addons/material_maker/library/base/filter_blur_directional.png b/material_maker/library/base/filter_blur_directional.png similarity index 100% rename from addons/material_maker/library/base/filter_blur_directional.png rename to material_maker/library/base/filter_blur_directional.png diff --git a/addons/material_maker/library/base/filter_brightnesscontrast.png b/material_maker/library/base/filter_brightnesscontrast.png similarity index 100% rename from addons/material_maker/library/base/filter_brightnesscontrast.png rename to material_maker/library/base/filter_brightnesscontrast.png diff --git a/addons/material_maker/library/base/filter_colorize.png b/material_maker/library/base/filter_colorize.png similarity index 100% rename from addons/material_maker/library/base/filter_colorize.png rename to material_maker/library/base/filter_colorize.png diff --git a/addons/material_maker/library/base/filter_colorize_invert.png b/material_maker/library/base/filter_colorize_invert.png similarity index 100% rename from addons/material_maker/library/base/filter_colorize_invert.png rename to material_maker/library/base/filter_colorize_invert.png diff --git a/addons/material_maker/library/base/filter_colorize_rainbow.png b/material_maker/library/base/filter_colorize_rainbow.png similarity index 100% rename from addons/material_maker/library/base/filter_colorize_rainbow.png rename to material_maker/library/base/filter_colorize_rainbow.png diff --git a/addons/material_maker/library/base/filter_edge_detect.png b/material_maker/library/base/filter_edge_detect.png similarity index 100% rename from addons/material_maker/library/base/filter_edge_detect.png rename to material_maker/library/base/filter_edge_detect.png diff --git a/addons/material_maker/library/base/filter_edge_detect_axis_aligned.png b/material_maker/library/base/filter_edge_detect_axis_aligned.png similarity index 100% rename from addons/material_maker/library/base/filter_edge_detect_axis_aligned.png rename to material_maker/library/base/filter_edge_detect_axis_aligned.png diff --git a/addons/material_maker/library/base/filter_edge_detect_diagonal.png b/material_maker/library/base/filter_edge_detect_diagonal.png similarity index 100% rename from addons/material_maker/library/base/filter_edge_detect_diagonal.png rename to material_maker/library/base/filter_edge_detect_diagonal.png diff --git a/addons/material_maker/library/base/filter_emboss.png b/material_maker/library/base/filter_emboss.png similarity index 100% rename from addons/material_maker/library/base/filter_emboss.png rename to material_maker/library/base/filter_emboss.png diff --git a/addons/material_maker/library/base/filter_greyscale.png b/material_maker/library/base/filter_greyscale.png similarity index 100% rename from addons/material_maker/library/base/filter_greyscale.png rename to material_maker/library/base/filter_greyscale.png diff --git a/addons/material_maker/library/base/filter_invert.png b/material_maker/library/base/filter_invert.png similarity index 100% rename from addons/material_maker/library/base/filter_invert.png rename to material_maker/library/base/filter_invert.png diff --git a/addons/material_maker/library/base/filter_normal_map.png b/material_maker/library/base/filter_normal_map.png similarity index 100% rename from addons/material_maker/library/base/filter_normal_map.png rename to material_maker/library/base/filter_normal_map.png diff --git a/addons/material_maker/library/base/filter_occlusion.png b/material_maker/library/base/filter_occlusion.png similarity index 100% rename from addons/material_maker/library/base/filter_occlusion.png rename to material_maker/library/base/filter_occlusion.png diff --git a/addons/material_maker/library/base/filter_quantize.png b/material_maker/library/base/filter_quantize.png similarity index 100% rename from addons/material_maker/library/base/filter_quantize.png rename to material_maker/library/base/filter_quantize.png diff --git a/addons/material_maker/library/base/filter_sharpen.png b/material_maker/library/base/filter_sharpen.png similarity index 100% rename from addons/material_maker/library/base/filter_sharpen.png rename to material_maker/library/base/filter_sharpen.png diff --git a/addons/material_maker/library/base/filter_swapchannels.png b/material_maker/library/base/filter_swapchannels.png similarity index 100% rename from addons/material_maker/library/base/filter_swapchannels.png rename to material_maker/library/base/filter_swapchannels.png diff --git a/addons/material_maker/library/base/miscellaneous_buffer.png b/material_maker/library/base/miscellaneous_buffer.png similarity index 100% rename from addons/material_maker/library/base/miscellaneous_buffer.png rename to material_maker/library/base/miscellaneous_buffer.png diff --git a/addons/material_maker/library/base/miscellaneous_comment.png b/material_maker/library/base/miscellaneous_comment.png similarity index 100% rename from addons/material_maker/library/base/miscellaneous_comment.png rename to material_maker/library/base/miscellaneous_comment.png diff --git a/addons/material_maker/library/base/miscellaneous_custom_shader.png b/material_maker/library/base/miscellaneous_custom_shader.png similarity index 100% rename from addons/material_maker/library/base/miscellaneous_custom_shader.png rename to material_maker/library/base/miscellaneous_custom_shader.png diff --git a/addons/material_maker/library/base/miscellaneous_debug.png b/material_maker/library/base/miscellaneous_debug.png similarity index 100% rename from addons/material_maker/library/base/miscellaneous_debug.png rename to material_maker/library/base/miscellaneous_debug.png diff --git a/addons/material_maker/library/base/miscellaneous_export.png b/material_maker/library/base/miscellaneous_export.png similarity index 100% rename from addons/material_maker/library/base/miscellaneous_export.png rename to material_maker/library/base/miscellaneous_export.png diff --git a/addons/material_maker/library/base/miscellaneous_remote.png b/material_maker/library/base/miscellaneous_remote.png similarity index 100% rename from addons/material_maker/library/base/miscellaneous_remote.png rename to material_maker/library/base/miscellaneous_remote.png diff --git a/addons/material_maker/library/base/miscellaneous_switch.png b/material_maker/library/base/miscellaneous_switch.png similarity index 100% rename from addons/material_maker/library/base/miscellaneous_switch.png rename to material_maker/library/base/miscellaneous_switch.png diff --git a/addons/material_maker/library/base/noise.png b/material_maker/library/base/noise.png similarity index 100% rename from addons/material_maker/library/base/noise.png rename to material_maker/library/base/noise.png diff --git a/addons/material_maker/library/base/noise_color.png b/material_maker/library/base/noise_color.png similarity index 100% rename from addons/material_maker/library/base/noise_color.png rename to material_maker/library/base/noise_color.png diff --git a/addons/material_maker/library/base/noise_perlin.png b/material_maker/library/base/noise_perlin.png similarity index 100% rename from addons/material_maker/library/base/noise_perlin.png rename to material_maker/library/base/noise_perlin.png diff --git a/addons/material_maker/library/base/noise_perlin_color.png b/material_maker/library/base/noise_perlin_color.png similarity index 100% rename from addons/material_maker/library/base/noise_perlin_color.png rename to material_maker/library/base/noise_perlin_color.png diff --git a/addons/material_maker/library/base/noise_perlin_warp1.png b/material_maker/library/base/noise_perlin_warp1.png similarity index 100% rename from addons/material_maker/library/base/noise_perlin_warp1.png rename to material_maker/library/base/noise_perlin_warp1.png diff --git a/addons/material_maker/library/base/noise_perlin_warp2.png b/material_maker/library/base/noise_perlin_warp2.png similarity index 100% rename from addons/material_maker/library/base/noise_perlin_warp2.png rename to material_maker/library/base/noise_perlin_warp2.png diff --git a/addons/material_maker/library/base/noise_voronoi.png b/material_maker/library/base/noise_voronoi.png similarity index 100% rename from addons/material_maker/library/base/noise_voronoi.png rename to material_maker/library/base/noise_voronoi.png diff --git a/addons/material_maker/library/base/pattern_beehive.png b/material_maker/library/base/pattern_beehive.png similarity index 100% rename from addons/material_maker/library/base/pattern_beehive.png rename to material_maker/library/base/pattern_beehive.png diff --git a/addons/material_maker/library/base/pattern_bricks.png b/material_maker/library/base/pattern_bricks.png similarity index 100% rename from addons/material_maker/library/base/pattern_bricks.png rename to material_maker/library/base/pattern_bricks.png diff --git a/addons/material_maker/library/base/pattern_bricks_basketweave.png b/material_maker/library/base/pattern_bricks_basketweave.png similarity index 100% rename from addons/material_maker/library/base/pattern_bricks_basketweave.png rename to material_maker/library/base/pattern_bricks_basketweave.png diff --git a/addons/material_maker/library/base/pattern_bricks_herringbone.png b/material_maker/library/base/pattern_bricks_herringbone.png similarity index 100% rename from addons/material_maker/library/base/pattern_bricks_herringbone.png rename to material_maker/library/base/pattern_bricks_herringbone.png diff --git a/addons/material_maker/library/base/pattern_bricks_spanishbond.png b/material_maker/library/base/pattern_bricks_spanishbond.png similarity index 100% rename from addons/material_maker/library/base/pattern_bricks_spanishbond.png rename to material_maker/library/base/pattern_bricks_spanishbond.png diff --git a/addons/material_maker/library/base/pattern_bricks_tiles.png b/material_maker/library/base/pattern_bricks_tiles.png similarity index 100% rename from addons/material_maker/library/base/pattern_bricks_tiles.png rename to material_maker/library/base/pattern_bricks_tiles.png diff --git a/addons/material_maker/library/base/pattern_fibers.png b/material_maker/library/base/pattern_fibers.png similarity index 100% rename from addons/material_maker/library/base/pattern_fibers.png rename to material_maker/library/base/pattern_fibers.png diff --git a/addons/material_maker/library/base/pattern_generic.png b/material_maker/library/base/pattern_generic.png similarity index 100% rename from addons/material_maker/library/base/pattern_generic.png rename to material_maker/library/base/pattern_generic.png diff --git a/addons/material_maker/library/base/pattern_generic_checkerboard.png b/material_maker/library/base/pattern_generic_checkerboard.png similarity index 100% rename from addons/material_maker/library/base/pattern_generic_checkerboard.png rename to material_maker/library/base/pattern_generic_checkerboard.png diff --git a/addons/material_maker/library/base/pattern_runes.png b/material_maker/library/base/pattern_runes.png similarity index 100% rename from addons/material_maker/library/base/pattern_runes.png rename to material_maker/library/base/pattern_runes.png diff --git a/addons/material_maker/library/base/pattern_scratches.png b/material_maker/library/base/pattern_scratches.png similarity index 100% rename from addons/material_maker/library/base/pattern_scratches.png rename to material_maker/library/base/pattern_scratches.png diff --git a/addons/material_maker/library/base/pattern_truchet.png b/material_maker/library/base/pattern_truchet.png similarity index 100% rename from addons/material_maker/library/base/pattern_truchet.png rename to material_maker/library/base/pattern_truchet.png diff --git a/addons/material_maker/library/base/pattern_weave.png b/material_maker/library/base/pattern_weave.png similarity index 100% rename from addons/material_maker/library/base/pattern_weave.png rename to material_maker/library/base/pattern_weave.png diff --git a/addons/material_maker/library/base/simple_gradient.png b/material_maker/library/base/simple_gradient.png similarity index 100% rename from addons/material_maker/library/base/simple_gradient.png rename to material_maker/library/base/simple_gradient.png diff --git a/addons/material_maker/library/base/simple_gradient_circular.png b/material_maker/library/base/simple_gradient_circular.png similarity index 100% rename from addons/material_maker/library/base/simple_gradient_circular.png rename to material_maker/library/base/simple_gradient_circular.png diff --git a/addons/material_maker/library/base/simple_gradient_radial.png b/material_maker/library/base/simple_gradient_radial.png similarity index 100% rename from addons/material_maker/library/base/simple_gradient_radial.png rename to material_maker/library/base/simple_gradient_radial.png diff --git a/addons/material_maker/library/base/simple_image.png b/material_maker/library/base/simple_image.png similarity index 100% rename from addons/material_maker/library/base/simple_image.png rename to material_maker/library/base/simple_image.png diff --git a/addons/material_maker/library/base/simple_sdf_operators_sdannularshape.png b/material_maker/library/base/simple_sdf_operators_sdannularshape.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_operators_sdannularshape.png rename to material_maker/library/base/simple_sdf_operators_sdannularshape.png diff --git a/addons/material_maker/library/base/simple_sdf_operators_sdboolean.png b/material_maker/library/base/simple_sdf_operators_sdboolean.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_operators_sdboolean.png rename to material_maker/library/base/simple_sdf_operators_sdboolean.png diff --git a/addons/material_maker/library/base/simple_sdf_operators_sdmorph.png b/material_maker/library/base/simple_sdf_operators_sdmorph.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_operators_sdmorph.png rename to material_maker/library/base/simple_sdf_operators_sdmorph.png diff --git a/addons/material_maker/library/base/simple_sdf_operators_sdroundedshape.png b/material_maker/library/base/simple_sdf_operators_sdroundedshape.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_operators_sdroundedshape.png rename to material_maker/library/base/simple_sdf_operators_sdroundedshape.png diff --git a/addons/material_maker/library/base/simple_sdf_operators_sdsmoothboolean.png b/material_maker/library/base/simple_sdf_operators_sdsmoothboolean.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_operators_sdsmoothboolean.png rename to material_maker/library/base/simple_sdf_operators_sdsmoothboolean.png diff --git a/addons/material_maker/library/base/simple_sdf_sdshow.png b/material_maker/library/base/simple_sdf_sdshow.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_sdshow.png rename to material_maker/library/base/simple_sdf_sdshow.png diff --git a/addons/material_maker/library/base/simple_sdf_shapes_sdarc.png b/material_maker/library/base/simple_sdf_shapes_sdarc.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_shapes_sdarc.png rename to material_maker/library/base/simple_sdf_shapes_sdarc.png diff --git a/addons/material_maker/library/base/simple_sdf_shapes_sdbox.png b/material_maker/library/base/simple_sdf_shapes_sdbox.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_shapes_sdbox.png rename to material_maker/library/base/simple_sdf_shapes_sdbox.png diff --git a/addons/material_maker/library/base/simple_sdf_shapes_sdcircle.png b/material_maker/library/base/simple_sdf_shapes_sdcircle.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_shapes_sdcircle.png rename to material_maker/library/base/simple_sdf_shapes_sdcircle.png diff --git a/addons/material_maker/library/base/simple_sdf_shapes_sdline.png b/material_maker/library/base/simple_sdf_shapes_sdline.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_shapes_sdline.png rename to material_maker/library/base/simple_sdf_shapes_sdline.png diff --git a/addons/material_maker/library/base/simple_sdf_shapes_sdrhombus.png b/material_maker/library/base/simple_sdf_shapes_sdrhombus.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_shapes_sdrhombus.png rename to material_maker/library/base/simple_sdf_shapes_sdrhombus.png diff --git a/addons/material_maker/library/base/simple_sdf_transforms_rotate.png b/material_maker/library/base/simple_sdf_transforms_rotate.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_transforms_rotate.png rename to material_maker/library/base/simple_sdf_transforms_rotate.png diff --git a/addons/material_maker/library/base/simple_sdf_transforms_scale.png b/material_maker/library/base/simple_sdf_transforms_scale.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_transforms_scale.png rename to material_maker/library/base/simple_sdf_transforms_scale.png diff --git a/addons/material_maker/library/base/simple_sdf_transforms_translate.png b/material_maker/library/base/simple_sdf_transforms_translate.png similarity index 100% rename from addons/material_maker/library/base/simple_sdf_transforms_translate.png rename to material_maker/library/base/simple_sdf_transforms_translate.png diff --git a/addons/material_maker/library/base/simple_shape.png b/material_maker/library/base/simple_shape.png similarity index 100% rename from addons/material_maker/library/base/simple_shape.png rename to material_maker/library/base/simple_shape.png diff --git a/addons/material_maker/library/base/simple_shape_circle.png b/material_maker/library/base/simple_shape_circle.png similarity index 100% rename from addons/material_maker/library/base/simple_shape_circle.png rename to material_maker/library/base/simple_shape_circle.png diff --git a/addons/material_maker/library/base/simple_shape_curved_star.png b/material_maker/library/base/simple_shape_curved_star.png similarity index 100% rename from addons/material_maker/library/base/simple_shape_curved_star.png rename to material_maker/library/base/simple_shape_curved_star.png diff --git a/addons/material_maker/library/base/simple_shape_rays.png b/material_maker/library/base/simple_shape_rays.png similarity index 100% rename from addons/material_maker/library/base/simple_shape_rays.png rename to material_maker/library/base/simple_shape_rays.png diff --git a/addons/material_maker/library/base/simple_shape_star.png b/material_maker/library/base/simple_shape_star.png similarity index 100% rename from addons/material_maker/library/base/simple_shape_star.png rename to material_maker/library/base/simple_shape_star.png diff --git a/addons/material_maker/library/base/simple_uniform.png b/material_maker/library/base/simple_uniform.png similarity index 100% rename from addons/material_maker/library/base/simple_uniform.png rename to material_maker/library/base/simple_uniform.png diff --git a/addons/material_maker/library/base/simple_uniform_greyscale.png b/material_maker/library/base/simple_uniform_greyscale.png similarity index 100% rename from addons/material_maker/library/base/simple_uniform_greyscale.png rename to material_maker/library/base/simple_uniform_greyscale.png diff --git a/addons/material_maker/library/base/transform.png b/material_maker/library/base/transform.png similarity index 100% rename from addons/material_maker/library/base/transform.png rename to material_maker/library/base/transform.png diff --git a/addons/material_maker/library/base/transform_circlemap.png b/material_maker/library/base/transform_circlemap.png similarity index 100% rename from addons/material_maker/library/base/transform_circlemap.png rename to material_maker/library/base/transform_circlemap.png diff --git a/addons/material_maker/library/base/transform_customuv.png b/material_maker/library/base/transform_customuv.png similarity index 100% rename from addons/material_maker/library/base/transform_customuv.png rename to material_maker/library/base/transform_customuv.png diff --git a/addons/material_maker/library/base/transform_kaleidoscope.png b/material_maker/library/base/transform_kaleidoscope.png similarity index 100% rename from addons/material_maker/library/base/transform_kaleidoscope.png rename to material_maker/library/base/transform_kaleidoscope.png diff --git a/addons/material_maker/library/base/transform_mirror.png b/material_maker/library/base/transform_mirror.png similarity index 100% rename from addons/material_maker/library/base/transform_mirror.png rename to material_maker/library/base/transform_mirror.png diff --git a/addons/material_maker/library/base/transform_warp.png b/material_maker/library/base/transform_warp.png similarity index 100% rename from addons/material_maker/library/base/transform_warp.png rename to material_maker/library/base/transform_warp.png diff --git a/addons/material_maker/library/base/workflow_applymap.png b/material_maker/library/base/workflow_applymap.png similarity index 100% rename from addons/material_maker/library/base/workflow_applymap.png rename to material_maker/library/base/workflow_applymap.png diff --git a/addons/material_maker/library/base/workflow_createmap.png b/material_maker/library/base/workflow_createmap.png similarity index 100% rename from addons/material_maker/library/base/workflow_createmap.png rename to material_maker/library/base/workflow_createmap.png diff --git a/addons/material_maker/library/base/workflow_materials_marble.png b/material_maker/library/base/workflow_materials_marble.png similarity index 100% rename from addons/material_maker/library/base/workflow_materials_marble.png rename to material_maker/library/base/workflow_materials_marble.png diff --git a/addons/material_maker/library/base/workflow_materials_metal.png b/material_maker/library/base/workflow_materials_metal.png similarity index 100% rename from addons/material_maker/library/base/workflow_materials_metal.png rename to material_maker/library/base/workflow_materials_metal.png diff --git a/addons/material_maker/library/base/workflow_materials_template.png b/material_maker/library/base/workflow_materials_template.png similarity index 100% rename from addons/material_maker/library/base/workflow_materials_template.png rename to material_maker/library/base/workflow_materials_template.png diff --git a/addons/material_maker/library/base/workflow_materials_wood.png b/material_maker/library/base/workflow_materials_wood.png similarity index 100% rename from addons/material_maker/library/base/workflow_materials_wood.png rename to material_maker/library/base/workflow_materials_wood.png diff --git a/addons/material_maker/library/base/workflow_mix.png b/material_maker/library/base/workflow_mix.png similarity index 100% rename from addons/material_maker/library/base/workflow_mix.png rename to material_maker/library/base/workflow_mix.png diff --git a/addons/material_maker/library/base/workflow_mixmap.png b/material_maker/library/base/workflow_mixmap.png similarity index 100% rename from addons/material_maker/library/base/workflow_mixmap.png rename to material_maker/library/base/workflow_mixmap.png diff --git a/addons/material_maker/library/base/workflow_output.png b/material_maker/library/base/workflow_output.png similarity index 100% rename from addons/material_maker/library/base/workflow_output.png rename to material_maker/library/base/workflow_output.png diff --git a/material_maker/main_window.gd b/material_maker/main_window.gd index 80c0e73..7d91eaf 100644 --- a/material_maker/main_window.gd +++ b/material_maker/main_window.gd @@ -83,7 +83,7 @@ func _ready() -> void: print("Copying samples") var dir : Directory = Directory.new() dir.make_dir("/examples") - dir.open("res://addons/material_maker/examples/") + dir.open("res://material_maker/examples/") dir.list_dir_begin(true) while true: var f = dir.get_next() @@ -91,7 +91,7 @@ func _ready() -> void: break if f.ends_with(".ptex"): print(f) - dir.copy("res://addons/material_maker/examples/"+f, "/examples/"+f) + dir.copy("res://material_maker/examples/"+f, "/examples/"+f) print("Done") # Upscale everything if the display requires it (crude hiDPI support). @@ -414,7 +414,7 @@ func get_doc_dir() -> String: var release_doc_path = base_dir.plus_file("doc") # In development, documentation is part of the project files. # We can use a globalized `res://` path here as the project isn't exported. - var devel_doc_path = ProjectSettings.globalize_path("res://addons/material_maker/doc/_build/html") + var devel_doc_path = ProjectSettings.globalize_path("res://material_maker/doc/_build/html") for p in [ release_doc_path, devel_doc_path ]: var file = File.new() if file.file_exists(p+"/index.html"): diff --git a/material_maker/nodes/generic.gd b/material_maker/nodes/generic.gd index 164c8c7..98290d6 100644 --- a/material_maker/nodes/generic.gd +++ b/material_maker/nodes/generic.gd @@ -67,7 +67,7 @@ func initialize_properties() -> void: o.connect("toggled", self, "_on_value_changed", [ o.name ]) elif o is ColorPickerButton: o.connect("color_changed", self, "_on_color_changed", [ o.name ]) - elif o is Control and o.filename == "res://addons/material_maker/widgets/gradient_editor.tscn": + elif o is Control and o.filename == "res://material_maker/widgets/gradient_editor.tscn": o.connect("updated", self, "_on_gradient_changed", [ o.name ]) else: print("unsupported widget "+str(o)) diff --git a/material_maker/nodes/ios.gd b/material_maker/nodes/ios.gd index fd86ad7..c45f0d1 100644 --- a/material_maker/nodes/ios.gd +++ b/material_maker/nodes/ios.gd @@ -26,7 +26,7 @@ func update_node() -> void: set_slot(get_child_count(), generator.name != "gen_inputs", 0, color, generator.name != "gen_outputs", 0, color) var port : Control if generator.is_editable(): - port = preload("res://addons/material_maker/nodes/ios/port.tscn").instance() + port = preload("res://material_maker/nodes/ios/port.tscn").instance() if p.has("name"): port.set_label(p.name) port.set_type(p.type) @@ -35,7 +35,7 @@ func update_node() -> void: port.text = p.name add_child(port) if generator.is_editable(): - var add_button : Button = preload("res://addons/material_maker/nodes/ios/add.tscn").instance() + var add_button : Button = preload("res://material_maker/nodes/ios/add.tscn").instance() add_child(add_button) add_button.connect("pressed", generator, "add_port") set_slot(get_child_count()-1, false, 0, color, false, 0, color) diff --git a/material_maker/widgets/gradient_editor.gd b/material_maker/widgets/gradient_editor.gd index bfea271..fe4c409 100644 --- a/material_maker/widgets/gradient_editor.gd +++ b/material_maker/widgets/gradient_editor.gd @@ -110,7 +110,7 @@ func _gui_input(ev) -> void: add_cursor(p, get_gradient_color(p)) update_value() elif embedded: - var popup = load("res://addons/material_maker/widgets/gradient_popup.tscn").instance() + var popup = load("res://material_maker/widgets/gradient_popup.tscn").instance() add_child(popup) var popup_size = popup.rect_size popup.popup(Rect2(ev.global_position, Vector2(0, 0))) diff --git a/material_maker/widgets/node_editor/parameter_enum.gd b/material_maker/widgets/node_editor/parameter_enum.gd index 1891131..cc36ddc 100644 --- a/material_maker/widgets/node_editor/parameter_enum.gd +++ b/material_maker/widgets/node_editor/parameter_enum.gd @@ -51,14 +51,14 @@ func _on_EnumValues_item_selected(id) -> void: if id >= 0 and id < enum_values.size(): enum_current = id elif id == ENUM_EDIT: - var dialog = load("res://addons/material_maker/widgets/node_editor/enum_editor.tscn").instance() + var dialog = load("res://material_maker/widgets/node_editor/enum_editor.tscn").instance() var v = enum_values[enum_current] add_child(dialog) dialog.set_value(v.name, v.value) dialog.connect("ok", self, "update_enum_value", [ enum_current ]) dialog.popup_centered() elif id == ENUM_ADD: - var dialog = load("res://addons/material_maker/widgets/node_editor/enum_editor.tscn").instance() + var dialog = load("res://material_maker/widgets/node_editor/enum_editor.tscn").instance() add_child(dialog) dialog.connect("ok", self, "update_enum_value", [ -1 ]) dialog.popup_centered()