mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Added PaintCanvas to the build, and registered it.
This commit is contained in:
parent
7b5071fc73
commit
772195a9c3
@ -34,6 +34,7 @@ module_env.add_source_files(env.modules_sources,"paint_utilities.cpp")
|
|||||||
module_env.add_source_files(env.modules_sources,"bush_prefabs.cpp")
|
module_env.add_source_files(env.modules_sources,"bush_prefabs.cpp")
|
||||||
|
|
||||||
module_env.add_source_files(env.modules_sources,"nodes/paint_node.cpp")
|
module_env.add_source_files(env.modules_sources,"nodes/paint_node.cpp")
|
||||||
|
module_env.add_source_files(env.modules_sources,"nodes/paint_canvas.cpp")
|
||||||
|
|
||||||
module_env.add_source_files(env.modules_sources,"deprecated/paint_canvas_layer.cpp")
|
module_env.add_source_files(env.modules_sources,"deprecated/paint_canvas_layer.cpp")
|
||||||
module_env.add_source_files(env.modules_sources,"deprecated/paint_canvas.cpp")
|
module_env.add_source_files(env.modules_sources,"deprecated/paint_canvas.cpp")
|
||||||
|
@ -45,6 +45,7 @@ SOFTWARE.
|
|||||||
#include "ui/paint_visual_grid.h"
|
#include "ui/paint_visual_grid.h"
|
||||||
|
|
||||||
#include "nodes/paint_node.h"
|
#include "nodes/paint_node.h"
|
||||||
|
#include "nodes/paint_canvas.h"
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
#include "paint_editor_plugin.h"
|
#include "paint_editor_plugin.h"
|
||||||
@ -74,6 +75,7 @@ void register_paint_types() {
|
|||||||
ClassDB::register_class<PaintVisualGrid>();
|
ClassDB::register_class<PaintVisualGrid>();
|
||||||
|
|
||||||
ClassDB::register_class<PaintNode>();
|
ClassDB::register_class<PaintNode>();
|
||||||
|
ClassDB::register_class<PaintCanvas>();
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
EditorPlugins::add_by_type<PaintEditorPlugin>();
|
EditorPlugins::add_by_type<PaintEditorPlugin>();
|
||||||
|
Loading…
Reference in New Issue
Block a user