Maniphest T69822

Undo is making objects to disappear in sculpt mode
Closed, ResolvedBUG

Assigned To
Campbell Barton (campbellbarton)
Authored By
Erick Tukuniata (erickblender)
Sep 12 2019, 11:53 PM
Tags
  • BF Blender (2.81)
Subscribers
Campbell Barton (campbellbarton)
Erick Tukuniata (erickblender)
Germano Cavalcante (mano-wii)

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 550 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 376.51

Blender Version
Broken: version: 2.81 (sub 11), branch: master, commit date: 2019-09-12 16:23, hash: rB5b2cebf49bc6
Worked: (optional)

Short description of error
Undo is making objects to disappear in sculpt mode

Exact steps for others to reproduce the error

  • Load the factory settings, and add 3 more different objects
  • Go to object data properties and delete all those default UVs map
  • In the edit menu uncheck lock object modes and open preferences go to keymaps change select to right
  • Now activate Dyntopo for the objects ( right click select and ctrl+d to active Dyntopo)
  • Get a clay strip brush
  • Sculpt something on all the objects without leaving the sculpt mode since all of the objects are in sculpt mode. ( RMB select to change object and LMB to sculpt)
  • After all of them have some kind of deformations, start undo.

Things to notice sometimes objects change places and sometimes they disappear, when an object change place if you try to select it, it wouldn't happen.

You can try with the blend file as well. Open it and sculpt some and start to undo

Revisions and Commits

rB Blender
Closed

Event Timeline

Erick Tukuniata (erickblender) created this task.Sep 12 2019, 11:53 PM
Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to 30.Sep 23 2019, 3:17 PM
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

I could not reproduce the problem with the attached file.
Has it been resolved in recent builds? (https://builder.blender.org/download/)

Erick Tukuniata (erickblender) added a comment.Sep 23 2019, 10:24 PM

Has it been resolved in recent builds?

No, I tried the attached file, now it is crashing. I tried with the instructions above i can reproduce with Master: 2.81 (sub 12), branch: master, commit date: 2019-09-23 15:18, hash: rB14acac0bb7f3

Did you try to follow the step by step instructions?

Germano Cavalcante (mano-wii) assigned this task to Campbell Barton (campbellbarton).Sep 24 2019, 2:53 PM
Germano Cavalcante (mano-wii) raised the priority of this task from 30 to High.
Germano Cavalcante (mano-wii) added a subscriber: Campbell Barton (campbellbarton).

@Campbell Barton (campbellbarton), apparently the problem involves the undo system and bmesh.

A simple way to reproduce the problem is to:

  • open the attached file (note that lock object modes is disabled);
  • enable dyntopo on all objects (active object by clicking on it);
  • sculpt something on all the objects;
  • peform undo at least 3 times.
Dalai Felinto (dfelinto) edited projects, added BF Blender (2.81); removed BF Blender.Oct 7 2019, 12:36 PM
Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved by committing rB79b703bb635e: Fix T69822: Switching sculpt objects breaks undo.Nov 7 2019, 6:59 AM
Campbell Barton (campbellbarton) added a commit: rB79b703bb635e: Fix T69822: Switching sculpt objects breaks undo.
Campbell Barton (campbellbarton) mentioned this in T71434: Sculpt Performance Regression in 2.81.Nov 13 2019, 11:56 AM