1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Rework EditorPlugin editing logic

This commit is contained in:
kobewi
2023-01-21 22:49:06 +01:00
parent a6ddee9c00
commit 4ae168eb04
10 changed files with 111 additions and 100 deletions

View File

@@ -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);