2022-06-06 18:44:51 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
module_env = env.Clone()
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"register_types.cpp",
|
|
|
|
|
|
|
|
"algos/mm_algos.cpp",
|
|
|
|
"algos/mm_algos_bind.cpp",
|
2022-06-07 03:42:35 +02:00
|
|
|
|
|
|
|
"nodes/mm_material.cpp",
|
|
|
|
"nodes/mm_node_universal_property.cpp",
|
|
|
|
"nodes/mm_node.cpp",
|
2022-06-08 21:48:23 +02:00
|
|
|
|
2022-06-12 14:45:01 +02:00
|
|
|
"nodes/bases/curve_base.cpp",
|
|
|
|
"nodes/bases/gradient_base.cpp",
|
|
|
|
"nodes/bases/polygon_base.cpp",
|
|
|
|
|
2022-06-13 22:52:48 +02:00
|
|
|
"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",
|
2022-06-13 23:07:53 +02:00
|
|
|
|
|
|
|
"editor/widgets/file_dialog/left_panel.cpp",
|
|
|
|
"editor/widgets/file_dialog/mat_maker_file_dialog.cpp",
|
|
|
|
|
2022-06-14 17:55:23 +02:00
|
|
|
#"editor/widgets/float_edit/float_edit.cpp",
|
2022-06-13 23:07:53 +02:00
|
|
|
|
2022-06-14 16:43:44 +02:00
|
|
|
"editor/widgets/gradient_editor/gradient_cursor.cpp",
|
|
|
|
"editor/widgets/gradient_editor/gradient_editor.cpp",
|
|
|
|
"editor/widgets/gradient_editor/gradient_popup.cpp",
|
2022-06-13 23:07:53 +02:00
|
|
|
|
2022-06-14 17:16:26 +02:00
|
|
|
"editor/widgets/image_picker_button/image_picker_button.cpp",
|
|
|
|
|
|
|
|
"editor/widgets/mm_dnd_color_picker_button/mm_dnd_color_picker_button.cpp",
|
|
|
|
|
|
|
|
"editor/widgets/polygon_edit/polygon_control_point.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_dialog.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_edit.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_editor.cpp",
|
|
|
|
"editor/widgets/polygon_edit/polygon_view.cpp",
|
2022-06-16 17:13:14 +02:00
|
|
|
|
|
|
|
"nodes/uniform/uniform.cpp",
|
2022-06-16 18:10:55 +02:00
|
|
|
"nodes/uniform/greyscale_uniform.cpp",
|
2022-06-06 18:44:51 +02:00
|
|
|
]
|
|
|
|
|
2022-06-14 18:27:36 +02:00
|
|
|
if env["tools"]:
|
|
|
|
sources.append("editor_plugin.cpp")
|
2022-06-06 18:44:51 +02:00
|
|
|
|
|
|
|
module_env.add_source_files(env.modules_sources, sources)
|
|
|
|
|