diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_info/info_stats.c | 2 | ||||
m--------- | source/tools | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/info_stats.c b/source/blender/editors/space_info/info_stats.c index 43d0d4fc425..71144fa11d0 100644 --- a/source/blender/editors/space_info/info_stats.c +++ b/source/blender/editors/space_info/info_stats.c @@ -405,7 +405,7 @@ static void stats_update(Depsgraph *depsgraph, ViewLayer *view_layer) /* Pose Mode */ stats_object_pose(ob, &stats); } - else if (stats_is_object_dynamic_topology_sculpt(ob, ob->mode)) { + else if (ob && stats_is_object_dynamic_topology_sculpt(ob, ob->mode)) { /* Dynamic topology. Do not count all vertices, dynamic topology stats are initialized later as * part of sculpt stats. */ } diff --git a/source/tools b/source/tools -Subproject d7d7e9d41f7499aa4639f96c843156ff834385b +Subproject 7011d02c292ac1c91a5c9cc1a075ea2727982ce |