You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
First attempt at making a more useful EditorPlugin API. Still undocumented, but feedback welcome!
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user