From 5e03f0f82bdac76f20ec6b22e3d3091bd5b8d870 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 20 Jun 2022 00:12:33 +0200 Subject: [PATCH] Register PaintWindow, and also enable the PaintEditorPlugin by default. The paint module is still a bit buggy though, I'm hoping to fix most of it's isues in the next few days. --- modules/paint/register_types.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/paint/register_types.cpp b/modules/paint/register_types.cpp index 403d88d35..6d2d3f8bf 100644 --- a/modules/paint/register_types.cpp +++ b/modules/paint/register_types.cpp @@ -22,15 +22,17 @@ SOFTWARE. #include "register_types.h" +#include "paint_window.h" + #ifdef TOOLS_ENABLED #include "paint_editor_plugin.h" #endif void register_paint_types() { - //ClassDB::register_class(); + ClassDB::register_class(); #ifdef TOOLS_ENABLED - //EditorPlugins::add_by_type(); + EditorPlugins::add_by_type(); #endif }