Blender Git Loki

Git Commits -> Revision ac9344d

Revision ac9344d by Nicholas Bishop (master)
June 24, 2012, 20:18 (GMT)
Fixes for modifier data in multi-user meshes.

When removing a skin or multires modifier, it skips deletion of the
associated CustomData layer if the object has any other modifiers of
that type. This check has been extended to all objects that use the
object's data.

Similarly, deleting higher multires levels and multires subdivision
will not update the maximum level of any other multires modifiers on
objects that link to the same mesh.

Note that modifier_apply_obdata() doesn't need any changes as it
does not allow applying to multi-user data.

Object joining has also been modified to synchronize multires levels
objects that share a mesh. This is needed because joining can
subdivide or delete levels in order to match the maximum level of the
join-from object to the join-to object.

Fixes bug [#31880] instance multiresolution modifier error.
http://projects.blender.org/tracker/index.php?func=detail&aid=31880&group_id=9&atid=498

Reviewed by Sergey:
http://codereview.appspot.com/6332047/

Commit Details:

Full Hash: ac9344de75ea775cc0f50db4a28b79356217dc73
SVN Revision: 48247
Parent Commit: 4f0551b
Lines Changed: +137, -33

5 Modified Paths:

/source/blender/blenkernel/BKE_multires.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/multires.c (+9, -5) (Diff)
/source/blender/editors/include/ED_object.h (+6, -0) (Diff)
/source/blender/editors/mesh/meshtools.c (+11, -1) (Diff)
/source/blender/editors/object/object_modifier.c (+108, -27) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021