[Bf-blender-cvs] [3402ad9] mesh-transfer-data: Hide 'Skin' data option from UI for now, it's not available in final DM (first skin mod removes it).

Bastien Montagne noreply at git.blender.org
Sun Nov 2 15:09:07 CET 2014


Commit: 3402ad9a54daf0dd138d27edb790de48309348df
Author: Bastien Montagne
Date:   Sun Nov 2 14:49:54 2014 +0100
Branches: mesh-transfer-data
https://developer.blender.org/rB3402ad9a54daf0dd138d27edb790de48309348df

Hide 'Skin' data option from UI for now, it's not available in final DM (first skin mod removes it).

===================================================================

M	source/blender/editors/object/object_transfer_data.c

===================================================================

diff --git a/source/blender/editors/object/object_transfer_data.c b/source/blender/editors/object/object_transfer_data.c
index 5c5ca02..25b5b22 100644
--- a/source/blender/editors/object/object_transfer_data.c
+++ b/source/blender/editors/object/object_transfer_data.c
@@ -122,8 +122,9 @@ static EnumPropertyItem MDT_layer_items[] = {
 	{0, "", 0, "Vertex Data", ""},
 	{CD_FAKE_MDEFORMVERT, "VGROUP_WEIGHTS", 0, "Vertex Group(s)", "Transfer active or all vertex groups"},
 	{CD_FAKE_SHAPEKEY, "SHAPEKEYS", 0, "Shapekey(s)", "Transfer active or all shape keys"},
-	/* XXX When SkinModifier is enabled, it seems to erase its own CD_MVERT_SKIN layer from final DM :( */
+#if 0  /* XXX When SkinModifier is enabled, it seems to erase its own CD_MVERT_SKIN layer from final DM :( */
 	{CD_MVERT_SKIN, "SKIN", 0, "Skin Weight", "Transfer skin weights"},
+#endif
 	{CD_FAKE_BWEIGHT, "BEVEL_WEIGHT", 0, "Bevel Weight", "Transfer bevel weights"},
 	{0, "", 0, "Edge Data", ""},
 	{CD_FAKE_SHARP, "SHARP", 0, "Sharp", "Transfer sharp flag"},




More information about the Bf-blender-cvs mailing list