From 58d4bae6b65538e11bb0a82badbd0dca488cd5e4 Mon Sep 17 00:00:00 2001 From: Kearwood Gilbert Date: Sat, 24 Aug 2013 17:04:20 -0700 Subject: [PATCH] Fixed bug in animation import that caused the attributes to be un-assigned to nodes. --HG-- extra : source : 9cf011cb5f014ef330dfdf4150e0523b64400e03 --- KREngine/kraken/KRAnimation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/KREngine/kraken/KRAnimation.cpp b/KREngine/kraken/KRAnimation.cpp index 1be1203..093ef13 100644 --- a/KREngine/kraken/KRAnimation.cpp +++ b/KREngine/kraken/KRAnimation.cpp @@ -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); }