[Bf-blender-cvs] [37e53ca5f34] blender2.8: Missed opencollada edit in recent changes

Campbell Barton noreply at git.blender.org
Fri Feb 9 10:26:03 CET 2018


Commit: 37e53ca5f3496f9a09f46afd1e4ff2f1d2d153df
Author: Campbell Barton
Date:   Fri Feb 9 20:25:32 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB37e53ca5f3496f9a09f46afd1e4ff2f1d2d153df

Missed opencollada edit in recent changes

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

M	source/blender/collada/SkinInfo.cpp

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

diff --git a/source/blender/collada/SkinInfo.cpp b/source/blender/collada/SkinInfo.cpp
index a2cb8237d08..24b47f8db3c 100644
--- a/source/blender/collada/SkinInfo.cpp
+++ b/source/blender/collada/SkinInfo.cpp
@@ -227,7 +227,7 @@ void SkinInfo::link_armature(bContext *C, Object *ob, std::map<COLLADAFW::Unique
 	Main *bmain = CTX_data_main(C);
 	Scene *scene = CTX_data_scene(C);
 
-	ModifierData *md = ED_object_modifier_add(NULL, bmain, scene, ob, NULL, eModifierType_Armature);
+	ModifierData *md = ED_object_modifier_add(NULL, bmain, scene, ob, OB_MODE_OBJECT, NULL, eModifierType_Armature);
 	ArmatureModifierData *amd = (ArmatureModifierData *)md;
 	amd->object = ob_arm;



More information about the Bf-blender-cvs mailing list