33 if (bname != channel_target) {
34 bname = bname.substr(2);
36 BCBoneMatrixMap::const_iterator it;
37 for (it = bonemats.begin(); it != bonemats.end(); ++it) {
38 Bone *bone = it->first;
39 if (bname == bone->
name) {
49 if (channel_type ==
"location") {
50 *val = matrix->
location()[array_index];
52 else if (channel_type ==
"scale") {
53 *val = matrix->scale()[array_index];
55 else if (
ELEM(channel_type,
"rotation",
"rotation_euler")) {
56 *val = matrix->rotation()[array_index];
58 else if (channel_type ==
"rotation_quaternion") {
59 *val = matrix->quat()[array_index];