Merge pull request #71770 from KoBeWi/better_editing_or_something

Rework EditorPlugin editing logic
This commit is contained in:
Rémi Verschelde 2023-01-22 11:07:39 +01:00
commit bda87300e8
No known key found for this signature in database
GPG key ID: C3336907360768E1
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);