mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Merge pull request #71770 from KoBeWi/better_editing_or_something
Rework EditorPlugin editing logic
This commit is contained in:
commit
bda87300e8
10 changed files with 111 additions and 100 deletions
|
|
@ -117,6 +117,10 @@ void ShaderEditorPlugin::_move_shader_tab(int p_from, int p_to) {
|
|||
}
|
||||
|
||||
void ShaderEditorPlugin::edit(Object *p_object) {
|
||||
if (!p_object) {
|
||||
return;
|
||||
}
|
||||
|
||||
EditedShader es;
|
||||
|
||||
ShaderInclude *si = Object::cast_to<ShaderInclude>(p_object);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue