mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-12 13:51:10 +01:00
Add PaintProject Node instead of PaintCanvas when using the SceneTreeDock's root node button as intended.
This commit is contained in:
parent
41f130d9fd
commit
13c45b16fa
@ -76,7 +76,7 @@ PaintEditorPlugin::PaintEditorPlugin(EditorNode *p_node) {
|
|||||||
_inspector_plugin = memnew(PaintInspectorPlugin);
|
_inspector_plugin = memnew(PaintInspectorPlugin);
|
||||||
add_inspector_plugin(_inspector_plugin);
|
add_inspector_plugin(_inspector_plugin);
|
||||||
|
|
||||||
editor->get_scene_tree_dock()->add_custom_scene_root_class("Paint", "PaintCanvas");
|
editor->get_scene_tree_dock()->add_custom_scene_root_class("Paint", "PaintProject");
|
||||||
}
|
}
|
||||||
|
|
||||||
PaintEditorPlugin::~PaintEditorPlugin() {
|
PaintEditorPlugin::~PaintEditorPlugin() {
|
||||||
|
Loading…
Reference in New Issue
Block a user