Hi, This should all work fine, see load_editMesh for the code where it syncs the shape keys after exiting edit mode.
Brecht. On Fri, Feb 11, 2011 at 3:06 PM, Tobias Oelgarte <[email protected]> wrote: > If new vertices will just be added/removed in the right order from all > shapekeys, then there should be no issue. (Same location: I would expect > it this way) > > But thinking about the implementation: Could it be, that the order of > the indices's can go wild? If the vertices get not synchronously added > or removed, then there could be a problem. > > I just wanted to be sure if the key-asignments don't get confussed. > Otherwise i would need to write a script that exports the shapekeys as a > file and restores them after the changes. (using vertex locations in > Basis-shapekey as reference) > > PS: Still didn't find the corresponding code to look at. > (adding/removing a vertex while using shapekeys) ;-) > > Greetings > Tobias Oelgarte > > Am 11.02.2011 14:44, schrieb Brecht Van Lommel: >> Hi, >> >> I don't know any of current bugs with shape keys when adding/removing >> vertexes. However, what this may be referring to is that as you add >> vertices, they will all simply have the same position in all shape >> keys. Blender makes no attempt to cleverly set the positions of those >> new vertices in other shape keys based on surrounding vertices. So in >> practice if you're going to add shape keys to some part of the mesh, >> it's good to have the topology of that part locked down. >> >> Brecht. >> >> On Fri, Feb 11, 2011 at 1:22 PM, Tobias Oelgarte >> <[email protected]> wrote: >>> In many tutorials from Blender 2.4x i read that it will cause problems >>> if you edit a mesh* with shapekeys. (* Adding or removing vertices's) >>> >>> Is this also true for Blender 2.5x, that you might have unexpected >>> results after doing so? Or is this simply a myth? Currently i was >>> working on a mesh with shapekeys to test some features (drivers, ...) >>> and i could not find anything getting messed up as i removed and added >>> some vertices's. >>> >>> Now is my question: Was this issue fixed in the current release, never a >>> problem or it is still there in some cases? >>> >>> Greetings >>> Tobias Oelgarte >>> _______________________________________________ >>> Bf-committers mailing list >>> [email protected] >>> http://lists.blender.org/mailman/listinfo/bf-committers >>> >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers >> > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
