Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-04-06 06:05:02 +0400
committerMatt Ebb <matt@mke3.net>2010-04-06 06:05:02 +0400
commitea7fdb55a3e8f088161b218b96220c1cba9380a1 (patch)
tree1baa280c08ec1f1dcaf536b4664ddca3d55fe8b3 /source/blender/collada
parent041cc016461aa52de30ce33d70af129c25fc9915 (diff)
Compile fix to collada after ED_object_apply_obmat() was removed.
Arystanbek, please feel free to fix if it's not ok :)
Diffstat (limited to 'source/blender/collada')
-rw-r--r--source/blender/collada/DocumentImporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp
index 80c945c337c..66536e49dac 100644
--- a/source/blender/collada/DocumentImporter.cpp
+++ b/source/blender/collada/DocumentImporter.cpp
@@ -211,7 +211,7 @@ static int set_parent(Object *ob, Object *par, bContext *C)
// mul_m4_m4m4(ob->obmat, mat, par->obmat);
// apply child obmat (i.e. decompose into rot/loc/size)
- ED_object_apply_obmat(ob);
+ object_apply_mat4(ob, ob->obmat);
// compute parentinv
what_does_parent(sce, ob, &workob);
@@ -2299,7 +2299,7 @@ public:
TransformReader::get_node_mat(mat, node, &uid_animated_map, ob);
if (ob) {
copy_m4_m4(ob->obmat, mat);
- ED_object_apply_obmat(ob);
+ object_apply_mat4(ob, ob->obmat);
}
}