diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-10 14:09:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 14:09:17 +0100 |
commit | 9b597364737cbc04ccb5ee8e5c18bccb4dd31362 (patch) | |
tree | 5e2cc8006e77d01596e323ad9bac586920fc080a /editor/property_editor.cpp | |
parent | 90faf04f293fcdf636f641bfe3d88c5857695d9b (diff) | |
parent | 6f51eca1e3045571ccc68414a922e8b0229111f0 (diff) |
Merge pull request #58972 from reduz/expose-more-gdextension
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r-- | editor/property_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index 0282504c70..dd4b963fc0 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -907,7 +907,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant:: } } - if (!is_custom_resource && !ClassDB::can_instantiate(t)) { + if (!is_custom_resource && (!ClassDB::can_instantiate(t) || ClassDB::is_virtual(t))) { continue; } |