diff options
author | Thomas Dinges <blender@dingto.org> | 2010-08-01 20:38:30 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2010-08-01 20:38:30 +0400 |
commit | 0753766a578f78b003e038370abcde8732ce45db (patch) | |
tree | 3f19bb135e9c09a198c3504c88c032e10a8c1ac3 /source | |
parent | 4e031236d561e23a53965d3f333545265f1961e4 (diff) |
Fix for the fix.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/collada/DocumentImporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp index ab246aedee0..b9052d23511 100644 --- a/source/blender/collada/DocumentImporter.cpp +++ b/source/blender/collada/DocumentImporter.cpp @@ -615,7 +615,7 @@ private: Main *bmain = CTX_data_main(C); Scene *scene = CTX_data_scene(C); - ModifierData *md = ED_object_modifier_add(NULL, NULL, scene, ob, NULL, eModifierType_Armature); + ModifierData *md = ED_object_modifier_add(NULL, bmain, scene, ob, NULL, eModifierType_Armature); ((ArmatureModifierData *)md)->object = ob_arm; copy_m4_m4(ob->obmat, bind_shape_matrix); |