Add PaintProject Node instead of PaintCanvas when using the SceneTreeDock's root node button as intended.

This commit is contained in:
Relintai 2022-11-20 23:40:42 +01:00
parent 41f130d9fd
commit 13c45b16fa

View File

@ -76,7 +76,7 @@ PaintEditorPlugin::PaintEditorPlugin(EditorNode *p_node) {
_inspector_plugin = memnew(PaintInspectorPlugin);
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() {