Statistic doesn't update if object deleted due to object data deletion with RMB #94060

Open
opened 2021-12-14 12:55:43 +01:00 by Garek · 6 comments

Blender Version
Broken: version: 3.0.0, branch: master (modified), commit date: 2021-12-02 18:35, hash: f1cca30557
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Worked: unsure (didn't find scene statistics in 2.79...)

Short description of error
Scene statistic (both in footer and 3D viewport) does not update correctly if object data is deleted with RMB

Exact steps for others to reproduce the error

  1. Open default scene.
  2. Make sure you enable scene statistic either in 3D viewport or footer.
  3. In outliner unroll object to show it's object data, i.e. default cude.
  4. Click on object data, i.e. cube mesh, with RMB and delete it.
    Object will be deleted since it doesn't have mesh/camera/light object data. Notice that scene statistic is not updated (number of objects, vertices, selected status etc.). To update it you can select any object or click on outliner (doesn't matter on object or not).

That works correctly if object is not deleted, i.e. adding subdivision modifier (statistic will update) and then deleting it with RMB in outliner (statistic updated again).

**Blender Version** Broken: version: 3.0.0, branch: master (modified), commit date: 2021-12-02 18:35, hash: `f1cca30557` Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Worked: unsure (didn't find scene statistics in 2.79...) **Short description of error** Scene statistic (both in footer and 3D viewport) does not update correctly if object data is deleted with RMB **Exact steps for others to reproduce the error** 1. Open default scene. 2. Make sure you enable scene statistic either in 3D viewport or footer. 3. In outliner unroll object to show it's object data, i.e. default cude. 4. Click on object data, i.e. cube mesh, with RMB and delete it. Object will be deleted since it doesn't have mesh/camera/light object data. Notice that scene statistic is not updated (number of objects, vertices, selected status etc.). To update it you can select any object or click on outliner (doesn't matter on object or not). That works correctly if object is not deleted, i.e. adding subdivision modifier (statistic will update) and then deleting it with RMB in outliner (statistic updated again).
Author

Added subscriber: @Garek

Added subscriber: @Garek
Garek changed title from Statistic doesn't update if object data deleted with RMB to Statistic doesn't update if object deleted due to object data deletion with RMB 2021-12-14 13:01:30 +01:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Thanks for the report, I can confirm.
I'm not sure if this is a more internal bug, or just the interface that doesn't get updated at the right time.

Thanks for the report, I can confirm. I'm not sure if this is a more internal bug, or just the interface that doesn't get updated at the right time.
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:28:05 +01:00
Member

Update for interface is sent but stats_update() is skipped (this recalculates the data). I'll check

Update for interface is sent but `stats_update()` is skipped (this recalculates the data). I'll check
Pratik Borhade self-assigned this 2023-10-19 08:52:10 +02:00
Member

Fix similar to 847d369fbb can be applied here as well.

Fix similar to 847d369fbb376f8f86e3069de5992e7da284cf56 can be applied here as well.
Pratik Borhade removed their assignment 2024-03-14 10:38:51 +01:00
Pratik Borhade added
Meta
Good First Issue
Module
User Interface
and removed
Module
Modeling
labels 2024-03-14 10:39:05 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#94060
No description provided.