mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove most EditorNode constructor parameters and fields
This commit is contained in:
parent
f5a27ee4fe
commit
05b56f316d
144 changed files with 568 additions and 714 deletions
|
@ -122,10 +122,9 @@ void CPUParticles3DEditorPlugin::make_visible(bool p_visible) {
|
|||
}
|
||||
}
|
||||
|
||||
CPUParticles3DEditorPlugin::CPUParticles3DEditorPlugin(EditorNode *p_node) {
|
||||
editor = p_node;
|
||||
CPUParticles3DEditorPlugin::CPUParticles3DEditorPlugin() {
|
||||
particles_editor = memnew(CPUParticles3DEditor);
|
||||
editor->get_main_control()->add_child(particles_editor);
|
||||
EditorNode::get_singleton()->get_main_control()->add_child(particles_editor);
|
||||
|
||||
particles_editor->hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue