[Bf-committers] Problems with mesh undo

Alexander Ewering bf-committers@blender.org
Tue, 21 Oct 2003 18:20:09 +0200 (CEST)


On Tue, 21 Oct 2003, Robert Wenzlaff wrote:

> >  - Selections aren't preserved over undo
> 
> I noticed this.  make_editMesh() sets a few flags...  Does anyone know what 
> these do?  A flag could be added to make_editMesh_real() to skip that if 
> called from undo_push_mesh().
> 
> >  - Selection operations thus can't be undone (no matter
> >    if the appropriate undo_push calls are in place)
> 
> The above method might allow us to fix that.

What speaks against doing it exactly like instinctive-blender
does? It sets flags for selected vertices when it creates
the Mesh block in load_editMesh_real()... this also has the
benefit that selections are preserved per-mesh when switching
between object/edit mode...

| alexander ewering               instinctive new media
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de 
| null-zwo-drei-neun-drei-zwo-zwo-null-fuenf-fuenf-acht