---------------------------------------------------------------
| 1744 | |
| 1745 | //--------------------------------------------------------------- |
| 1746 | bool AnimationExporter::addNodeAnimation( |
| 1747 | MObject node, |
| 1748 | const String& attrname, |
| 1749 | const SampleType& sampleType, |
| 1750 | const String* parameters /* = EMPTY_PARAMETER */, |
| 1751 | const bool convertUnits /*= false*/, |
| 1752 | const int arrayElement /*= -1*/, |
| 1753 | const bool isRelativeAnimation /*= false*/, |
| 1754 | ConversionFunctor* conversion /*= NULL */ ) |
| 1755 | { |
| 1756 | // Take the attribute name as the sub id. |
| 1757 | String targetSid = attrname; |
| 1758 | |
| 1759 | return addNodeAnimation ( |
| 1760 | node, |
| 1761 | targetSid, |
| 1762 | attrname, |
| 1763 | sampleType, |
| 1764 | parameters, |
| 1765 | convertUnits, |
| 1766 | arrayElement, |
| 1767 | isRelativeAnimation, |
| 1768 | conversion ); |
| 1769 | } |
| 1770 | |
| 1771 | //--------------------------------------------------------------- |
| 1772 | bool AnimationExporter::addNodeAnimation ( |
no test coverage detected