Fix: UI: make statistics for Objects display 0 instead of (null)
Display "0" instead of "(null)" for object stats count when there are no objects. Pull Request: https://projects.blender.org/blender/blender/pulls/123036
This commit is contained in:
committed by
Harley Acheson
parent
8a3979b034
commit
739abf3031
@@ -828,7 +828,7 @@ void ED_info_draw_stats(
|
||||
}
|
||||
else if (!(object_mode & OB_MODE_SCULPT)) {
|
||||
/* No objects in scene. */
|
||||
stats_row(col1, labels[OBJ], col2, 0, nullptr, y, height);
|
||||
stats_row(col1, labels[OBJ], col2, stats_fmt.totobj, nullptr, y, height);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user