fixed second_partial derivative export for collada
This commit is contained in:
parent
1a7527339e
commit
bb64384ba8
|
@ -1048,7 +1048,7 @@ protected:
|
||||||
derivelt->setAttribute("type","second_partial");
|
derivelt->setAttribute("type","second_partial");
|
||||||
derivelt->setAttribute("target",str(boost::format("%s/%s")%kmodel->getID()%_ComputeId(pjoint->mimic->joint_name)).c_str());
|
derivelt->setAttribute("target",str(boost::format("%s/%s")%kmodel->getID()%_ComputeId(pjoint->mimic->joint_name)).c_str());
|
||||||
daeElementRef pmath_const0 = derivelt->add("cn");
|
daeElementRef pmath_const0 = derivelt->add("cn");
|
||||||
pmath_const0->setCharData("0");
|
pmath_const0->setCharData(str(boost::format("%f")%pjoint->mimic->multiplier));
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue