diff --git a/modules/material_maker/SCsub b/modules/material_maker/SCsub index d77222bca..132651fb1 100644 --- a/modules/material_maker/SCsub +++ b/modules/material_maker/SCsub @@ -19,9 +19,18 @@ sources = [ "nodes/bases/gradient_base.cpp", "nodes/bases/polygon_base.cpp", - #"editor/mat_maker_gd_editor.cpp", - #"editor/mm_create_name_popup.cpp", - #"editor/mm_graph_node.cpp", + "editor/mat_maker_gd_editor.cpp", + "editor/mm_create_name_popup.cpp", + "editor/mm_graph_node.cpp", + + "editor/widgets/color_picker_popup/color_picker_popup.cpp", + + "editor/widgets/curve_edit/control_point.cpp", + "editor/widgets/curve_edit/curve_dialog.cpp", + "editor/widgets/curve_edit/curve_edit.cpp", + "editor/widgets/curve_edit/curve_editor.cpp", + "editor/widgets/curve_edit/curve_view.cpp", + "editor/widgets/curve_edit/slope_point.cpp", ] diff --git a/modules/material_maker/register_types.cpp b/modules/material_maker/register_types.cpp index 9f85ee530..a40098c8a 100644 --- a/modules/material_maker/register_types.cpp +++ b/modules/material_maker/register_types.cpp @@ -35,8 +35,8 @@ SOFTWARE. #include "nodes/bases/gradient_base.h" #include "nodes/bases/polygon_base.h" -//#include "editor/mat_maker_gd_editor.h" -//#include "editor/mm_graph_node.h" +#include "editor/mat_maker_gd_editor.h" +#include "editor/mm_graph_node.h" static _MMAlgos *_mm_algos_singleton = nullptr; @@ -51,8 +51,8 @@ void register_material_maker_types() { ClassDB::register_class(); ClassDB::register_class(); - //ClassDB::register_class(); - //ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); _mm_algos_singleton = memnew(_MMAlgos); Engine::get_singleton()->add_singleton(Engine::Singleton("MMAlgos", _MMAlgos::get_singleton()));