You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add shorthand for using singleton string names
This commit is contained in:
@@ -111,7 +111,7 @@ void NinePatchRect::set_texture(const Ref<Texture2D> &p_tex) {
|
||||
|
||||
queue_redraw();
|
||||
update_minimum_size();
|
||||
emit_signal(SceneStringNames::get_singleton()->texture_changed);
|
||||
emit_signal(SceneStringName(texture_changed));
|
||||
}
|
||||
|
||||
Ref<Texture2D> NinePatchRect::get_texture() const {
|
||||
|
||||
Reference in New Issue
Block a user