diff --git a/modules/paint/actions/multiline_action.h b/modules/paint/actions/multiline_action.h index eaf2def32..76e64a94e 100644 --- a/modules/paint/actions/multiline_action.h +++ b/modules/paint/actions/multiline_action.h @@ -36,7 +36,7 @@ public: bool can_commit(); void do_action(PaintCanvas *canvas, const Array &data); - void commit_action(PaintCanvas *canvas); + //void commit_action(PaintCanvas *canvas); MultiLineAction(); ~MultiLineAction(); diff --git a/modules/paint/register_types.cpp b/modules/paint/register_types.cpp index 6d2d3f8bf..4dd5c029e 100644 --- a/modules/paint/register_types.cpp +++ b/modules/paint/register_types.cpp @@ -22,6 +22,20 @@ SOFTWARE. #include "register_types.h" +#include "actions/paint_action.h" + +#include "actions/brighten_action.h" +#include "actions/brush_action.h" +#include "actions/bucket_action.h" +#include "actions/cut_action.h" +#include "actions/darken_action.h" +#include "actions/line_action.h" +#include "actions/multiline_action.h" +#include "actions/paste_cut_action.h" +#include "actions/pencil_action.h" +#include "actions/rainbow_action.h" +#include "actions/rect_action.h" + #include "paint_window.h" #ifdef TOOLS_ENABLED @@ -31,6 +45,20 @@ SOFTWARE. void register_paint_types() { ClassDB::register_class(); + ClassDB::register_class(); + + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + ClassDB::register_class(); + #ifdef TOOLS_ENABLED EditorPlugins::add_by_type(); #endif