Blender Git Commit Log

Git Commits -> Revision ee4453f

Revision ee4453f by Bastien Montagne (master)
January 9, 2015, 18:32 (GMT)
Transfer Data: add main core code and operators.

This add code needed to map a CD data layout from source mesh towards destination one,
and code needed to actually transfer data, using BKE's mesh remap generated data.

This allows to transfer most CD layers (vgroups, vcols, uvs...) as well as fake, boolean ones
(like smooth/sharp edges/faces, etc.). Some types are not yet transferable, mainly
shape keys, this is known TODO.

Data transfer can also use some advanced mixing in some cases (mostly, vgroups and vcols).

* New transfer operators transfer data from active object towards selected ones.
* Modifier will be committed separately.
* Old weight transfer code (for vgroups) is kept for now, mostly because it is the only
usable one in weightpaint mode (it transfers from selected object to active one,
this is not sensible in Object mode, but needed in WeightPaint one). This will be addressed soon.

Again, heavily reviewed and enhanced by Campbell, thanks!

Commit Details:

Full Hash: ee4453f08369d8cf910a88763bfb14392ea489cf
Parent Commit: 67b1412
Lines Changed: +3023, -16

4 Added Paths:

/source/blender/blenkernel/BKE_object_data_transfer.h (+158, -0) (View)
/source/blender/blenkernel/intern/data_transfer_intern.h (+60, -0) (View)
/source/blender/blenkernel/intern/object_data_transfer.c (+1227, -0) (View)
/source/blender/editors/object/object_data_transfer.c (+620, -0) (View)

13 Modified Paths:

/release/scripts/startup/bl_ui/ (+2, -0) (Diff)
/release/scripts/startup/bl_ui/ (+7, -0) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+86, -2) (Diff)
/source/blender/blenkernel/BKE_deform.h (+17, -0) (Diff)
/source/blender/blenkernel/BKE_object_deform.h (+7, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+3, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+317, -14) (Diff)
/source/blender/blenkernel/intern/deform.c (+391, -0) (Diff)
/source/blender/editors/object/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/object/object_intern.h (+4, -0) (Diff)
/source/blender/editors/object/object_ops.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+108, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+8, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021