diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-09 12:25:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-09 12:25:32 +0300 |
commit | 37e53ca5f3496f9a09f46afd1e4ff2f1d2d153df (patch) | |
tree | 48e57e407cc438854f5fd88caf2a546f98372af6 /source/blender/collada | |
parent | 32287212f540e1b7360d551810387f6852ccde62 (diff) |
Missed opencollada edit in recent changes
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/SkinInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |