mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -602,7 +602,7 @@ void Curve2D::remove_point(int p_index) {
|
|||
}
|
||||
|
||||
void Curve2D::clear_points() {
|
||||
if (!points.empty()) {
|
||||
if (!points.is_empty()) {
|
||||
points.clear();
|
||||
baked_cache_dirty = true;
|
||||
emit_signal(CoreStringNames::get_singleton()->changed);
|
||||
|
|
@ -1087,7 +1087,7 @@ void Curve3D::remove_point(int p_index) {
|
|||
}
|
||||
|
||||
void Curve3D::clear_points() {
|
||||
if (!points.empty()) {
|
||||
if (!points.is_empty()) {
|
||||
points.clear();
|
||||
baked_cache_dirty = true;
|
||||
emit_signal(CoreStringNames::get_singleton()->changed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue