| 2304 | //---------------------------------------------------------------------------- |
| 2305 | |
| 2306 | const char *ShapeBase::getThreadSequenceName( U32 slot ) |
| 2307 | { |
| 2308 | Thread& st = mScriptThread[slot]; |
| 2309 | if ( st.sequence == -1 ) |
| 2310 | { |
| 2311 | // Invalid Animation. |
| 2312 | return ""; |
| 2313 | } |
| 2314 | |
| 2315 | // Name Index |
| 2316 | const U32 nameIndex = getShape()->sequences[st.sequence].nameIndex; |
| 2317 | |
| 2318 | // Return Name. |
| 2319 | return getShape()->getName( nameIndex ); |
| 2320 | } |
| 2321 | |
| 2322 | bool ShapeBase::setThreadSequence(U32 slot, S32 seq, bool reset) |
| 2323 | { |
no test coverage detected