Blender Git Loki

Git Commits -> Revision e4cc1c3

Revision e4cc1c3 by Campbell Barton (master)
April 26, 2011, 07:17 (GMT)
fix [#27178] Material links lost when making mesh data local
- making local object data - Curve/Mesh/MBall lost references to linked materials.
- joining a linked mesh object into a local one lost the link.

As well as these reported bugs, checked all local functions for consistency/correctness and found other cases which would also fail.
- making local metaball didn't ensure unique ID name.
- make_local_armature() was missing check for object users - main body of code would never run.
- local particles didn't set the dupli-group or textures to extern.

checked all local functions for consistency/correctness.

Commit Details:

Full Hash: e4cc1c3f2c3e5a85fbf4f7f2757b09544dd556ee
SVN Revision: 36332
Parent Commit: 461a7c5
Lines Changed: +232, -197

16 Modified Paths:

/source/blender/blenkernel/BKE_material.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+0, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+19, -16) (Diff)
/source/blender/blenkernel/intern/brush.c (+22, -11) (Diff)
/source/blender/blenkernel/intern/curve.c (+29, -22) (Diff)
/source/blender/blenkernel/intern/lattice.c (+7, -12) (Diff)
/source/blender/blenkernel/intern/material.c (+23, -11) (Diff)
/source/blender/blenkernel/intern/mball.c (+22, -13) (Diff)
/source/blender/blenkernel/intern/mesh.c (+34, -27) (Diff)
/source/blender/blenkernel/intern/object.c (+31, -45) (Diff)
/source/blender/blenkernel/intern/particle.c (+27, -20) (Diff)
/source/blender/blenkernel/intern/texture.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/world.c (+8, -11) (Diff)
/source/blender/editors/mesh/meshtools.c (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021