You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Merge pull request #56124 from KoBeWi/font_slayer
This commit is contained in:
@@ -240,7 +240,7 @@ bool Control::_set(const StringName &p_name, const Variant &p_value) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p_value.get_type() == Variant::NIL) {
|
if (p_value.get_type() == Variant::NIL || (p_value.get_type() == Variant::OBJECT && (Object *)p_value == nullptr)) {
|
||||||
if (name.begins_with("theme_override_icons/") || name.begins_with("custom_icons/")) {
|
if (name.begins_with("theme_override_icons/") || name.begins_with("custom_icons/")) {
|
||||||
String dname = name.get_slicec('/', 1);
|
String dname = name.get_slicec('/', 1);
|
||||||
if (data.icon_override.has(dname)) {
|
if (data.icon_override.has(dname)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user