1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Revert "Replace many uses of is_class with derives_from."

This reverts commit 78b743cf4a.
This commit is contained in:
A Thousand Ships
2025-09-25 13:45:49 +02:00
parent 6e4e8072e1
commit bd65cfa876
43 changed files with 82 additions and 82 deletions

View File

@@ -562,7 +562,7 @@ void Object::get_property_list(List<PropertyInfo> *p_list, bool p_reversed) cons
_get_property_listv(p_list, p_reversed);
if (!derives_from<Script>()) { // can still be set, but this is for user-friendliness
if (!is_class("Script")) { // can still be set, but this is for user-friendliness
p_list->push_back(PropertyInfo(Variant::OBJECT, "script", PROPERTY_HINT_RESOURCE_TYPE, "Script", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_NEVER_DUPLICATE));
}