mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
First attempt at making a more useful EditorPlugin API. Still undocumented, but feedback welcome!
This commit is contained in:
parent
7d8b7df19d
commit
2a7fdb23b3
12 changed files with 167 additions and 15 deletions
|
|
@ -332,7 +332,7 @@ BakedLightEditorPlugin::BakedLightEditorPlugin(EditorNode *p_node) {
|
|||
editor=p_node;
|
||||
baked_light_editor = memnew( BakedLightEditor );
|
||||
editor->get_viewport()->add_child(baked_light_editor);
|
||||
add_custom_control(CONTAINER_SPATIAL_EDITOR_MENU,baked_light_editor->bake_hbox);
|
||||
add_control_to_container(CONTAINER_SPATIAL_EDITOR_MENU,baked_light_editor->bake_hbox);
|
||||
baked_light_editor->hide();
|
||||
baked_light_editor->bake_hbox->hide();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue