Default cube reappears after having been deleted when editing vert count of new mesh circle #55478

Closed
opened 2018-06-14 09:40:43 +02:00 by Shams Kitz · 6 comments

System Information
Windows 10 & Ubuntu 18.04
nvidia gtx 1050ti

Blender Version
Broken: 2.79 2461be1
Worked: 2.79 f28aec1

Short description of error
Deleted default cube reappears if I make a mesh circle and change the number of vertices. Or, if I modify the default cube and then create a circle, when I adjust the number of verts in the operator properties panel, blender immediately crashes.

Exact steps for others to reproduce the error

(I Have in user preferences: 'enter edit mode' checked)

(I have 'default' screen layout on main screen and just a node editor in a secondary window on another monitor.)

Delete the default cube.

Create a mesh circle.

Use the operator properties panel to change the number of vertices.

Default cube should reappear.

defaultcube.blend

**System Information** Windows 10 & Ubuntu 18.04 nvidia gtx 1050ti **Blender Version** Broken: 2.79 2461be1 Worked: 2.79 f28aec1 **Short description of error** Deleted default cube reappears if I make a mesh circle and change the number of vertices. Or, if I modify the default cube and then create a circle, when I adjust the number of verts in the operator properties panel, blender immediately crashes. **Exact steps for others to reproduce the error** (I Have in user preferences: 'enter edit mode' checked) (I have 'default' screen layout on main screen and just a node editor in a secondary window on another monitor.) Delete the default cube. Create a mesh circle. Use the operator properties panel to change the number of vertices. Default cube should reappear. [defaultcube.blend](https://archive.blender.org/developer/F3692016/defaultcube.blend)
Author

Added subscriber: @bpygrams

Added subscriber: @bpygrams
Member

Added subscribers: @ideasman42, @lichtwerk

Added subscribers: @ideasman42, @lichtwerk
Campbell Barton was assigned by Philipp Oeser 2018-06-14 11:36:43 +02:00
Member

This doesnt happen if you use Global Undo, so only the combination of Enter Editmode ON and Global Undo OFF

Caused by 9636cab009

Crash (modifying default cube, objectmode, create mesh circle, adjust number of verts) traceback:
(MeshUndoStep->obedit_ref.ptr->data->edit_btmesh is NULL causing trouble in undomesh_to_editmesh)

1  undomesh_to_editmesh               editmesh_undo.c      549   0x1c7abd4 
2  mesh_undosys_step_decode           editmesh_undo.c      770   0x1c7cce5 
3  undosys_step_decode                undo_system.c        174   0x2781f67 
4  BKE_undosys_step_undo_with_data_ex undo_system.c        538   0x27834d2 
5  BKE_undosys_step_undo_with_data    undo_system.c        553   0x2783606 
6  BKE_undosys_step_undo_with_data_ex undo_system.c        544   0x27835cb 
7  BKE_undosys_step_undo_with_data    undo_system.c        553   0x2783606 
8  ed_undo_step                       ed_undo.c            126   0x187a2d8 
9  ED_undo_pop_op                     ed_undo.c            189   0x187a4b5 
10 ED_undo_operator_repeat            ed_undo.c            344   0x187a9cf 
11 ED_undo_operator_repeat_cb_evt     ed_undo.c            390   0x187ab84

Still didnt find time to study UNDO in more depth, so passing this on to @campbellbarton...

This doesnt happen if you use Global Undo, so only the combination of `Enter Editmode ON` and `Global Undo OFF` Caused by 9636cab009 Crash (modifying default cube, objectmode, create mesh circle, adjust number of verts) traceback: (MeshUndoStep->obedit_ref.ptr->data->edit_btmesh is NULL causing trouble in `undomesh_to_editmesh`) ``` 1 undomesh_to_editmesh editmesh_undo.c 549 0x1c7abd4 2 mesh_undosys_step_decode editmesh_undo.c 770 0x1c7cce5 3 undosys_step_decode undo_system.c 174 0x2781f67 4 BKE_undosys_step_undo_with_data_ex undo_system.c 538 0x27834d2 5 BKE_undosys_step_undo_with_data undo_system.c 553 0x2783606 6 BKE_undosys_step_undo_with_data_ex undo_system.c 544 0x27835cb 7 BKE_undosys_step_undo_with_data undo_system.c 553 0x2783606 8 ed_undo_step ed_undo.c 126 0x187a2d8 9 ED_undo_pop_op ed_undo.c 189 0x187a4b5 10 ED_undo_operator_repeat ed_undo.c 344 0x187a9cf 11 ED_undo_operator_repeat_cb_evt ed_undo.c 390 0x187ab84 ``` Still didnt find time to study UNDO in more depth, so passing this on to @campbellbarton...

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This appears to be fixed now.

This appears to be fixed now.
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#55478
No description provided.