You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Add no-change check to Label3D
This commit is contained in:
committed by
GitHub
parent
11d3768132
commit
c14b395c78
@@ -636,6 +636,10 @@ void Label3D::_shape() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Label3D::set_text(const String &p_string) {
|
void Label3D::set_text(const String &p_string) {
|
||||||
|
if (text == p_string) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
text = p_string;
|
text = p_string;
|
||||||
xl_text = atr(p_string);
|
xl_text = atr(p_string);
|
||||||
dirty_text = true;
|
dirty_text = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user