mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
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:
parent
1ca15c44e4
commit
5e03f0f82b
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user