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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-18 15:44:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-18 15:44:56 +0400
commit655ed9cc7f237202e8d93b47c7cb12d6fc79d8b0 (patch)
treedca6a107fbbb179a5787b651a7083f0e54f8fd00 /intern/itasc
parentb19155e76cca879724f7deae2cfd71d19f953229 (diff)
style cleanup
Diffstat (limited to 'intern/itasc')
-rw-r--r--intern/itasc/Armature.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/itasc/Armature.cpp b/intern/itasc/Armature.cpp
index 19f37a79484..e6f5fda4066 100644
--- a/intern/itasc/Armature.cpp
+++ b/intern/itasc/Armature.cpp
@@ -170,7 +170,7 @@ bool Armature::popQ(CacheTS timestamp)
{
if (m_qCCh >= 0) {
double* item;
- item = (double*)m_cache->getPreviousCacheItem(this, m_qCCh, &timestamp);
+ item = (double *)m_cache->getPreviousCacheItem(this, m_qCCh, &timestamp);
if (item && m_qCTs != timestamp) {
double* q = m_qKdl(0);
memcpy(q, item, m_qKdl.rows()*sizeof(double));
@@ -698,8 +698,8 @@ void Armature::updateControlOutput(const Timestamp& timestamp)
JointConstraint_struct* pConstraint = *it;
unsigned int nr, i;
for (i=0, nr = pConstraint->segment->second.q_nr; i<pConstraint->v_nr; i++, nr++) {
- *(double*)&pConstraint->value[i].y = m_qKdl[nr];
- *(double*)&pConstraint->value[i].ydot = m_qdotKdl[nr];
+ *(double *)&pConstraint->value[i].y = m_qKdl[nr];
+ *(double *)&pConstraint->value[i].ydot = m_qdotKdl[nr];
}
if (pConstraint->function && (pConstraint->substep || (!timestamp.reiterate && !timestamp.substep))) {
(*pConstraint->function)(timestamp, pConstraint->values, pConstraint->v_nr, pConstraint->param);