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.

This commit is contained in:
Relintai 2022-06-20 00:12:33 +02:00
parent 1ca15c44e4
commit 5e03f0f82b

View File

@ -22,15 +22,17 @@ SOFTWARE.
#include "register_types.h" #include "register_types.h"
#include "paint_window.h"
#ifdef TOOLS_ENABLED #ifdef TOOLS_ENABLED
#include "paint_editor_plugin.h" #include "paint_editor_plugin.h"
#endif #endif
void register_paint_types() { void register_paint_types() {
//ClassDB::register_class<MeshDataResource>(); ClassDB::register_class<PaintWindow>();
#ifdef TOOLS_ENABLED #ifdef TOOLS_ENABLED
//EditorPlugins::add_by_type<PaintEditorPlugin>(); EditorPlugins::add_by_type<PaintEditorPlugin>();
#endif #endif
} }