378 | | CMatrix3D proptransform = prop.m_Point->m_Transform;; |
379 | | if (prop.m_Point->m_BoneIndex != 0xff) |
380 | | { |
381 | | CMatrix3D boneMatrix = m_BoneMatrices[prop.m_Point->m_BoneIndex]; |
382 | | if (!worldSpaceBoneMatrices) |
383 | | boneMatrix.Concatenate(GetTransform()); |
384 | | proptransform.Concatenate(boneMatrix); |
385 | | } |
386 | | else |
387 | | { |
388 | | // not relative to any bone; just apply world-space transformation (i.e. relative to object-space origin) |
389 | | proptransform.Concatenate(m_Transform); |
390 | | } |
| 380 | CMatrix3D proptransform = prop.m_Point->m_Transform;; |
| 381 | if (prop.m_Point->m_BoneIndex != 0xff) |
| 382 | { |
| 383 | CMatrix3D boneMatrix = m_BoneMatrices[prop.m_Point->m_BoneIndex]; |
| 384 | if (!worldSpaceBoneMatrices) |
| 385 | boneMatrix.Concatenate(GetTransform()); |
| 386 | proptransform.Concatenate(boneMatrix); |
| 387 | } |
| 388 | else |
| 389 | { |
| 390 | // not relative to any bone; just apply world-space transformation (i.e. relative to object-space origin) |
| 391 | proptransform.Concatenate(m_Transform); |
| 392 | } |