Fixed bug in animation import that caused the attributes to be un-assigned to nodes.

--HG--
branch : nfb
This commit is contained in:
2013-08-24 17:04:20 -07:00
parent 0300dcdd7e
commit 0cb3db427d

View File

@@ -281,6 +281,7 @@ KRAnimation *KRAnimation::split(const std::string &name, float start_time, float
}
new_attribute->setCurveName(new_curve->getName());
new_attribute->setTargetAttribute(attribute->getTargetAttribute());
new_attribute->setTargetName(attribute->getTargetName());
new_layer->addAttribute(new_attribute);
}