| 263 | } |
| 264 | |
| 265 | bool GuiShapeEdPreview::setFieldThreadDir( void *object, const char *index, const char *data ) |
| 266 | { |
| 267 | GuiShapeEdPreview* gui = static_cast<GuiShapeEdPreview*>( object ); |
| 268 | if ( gui && ( gui->mActiveThread >= 0 ) ) |
| 269 | { |
| 270 | Thread& thread = gui->mThreads[gui->mActiveThread]; |
| 271 | Con::setData( TypeS32, &(thread.direction), 0, 1, &data ); |
| 272 | if ( thread.key ) |
| 273 | gui->mModel->setTimeScale( thread.key, gui->mTimeScale * thread.direction ); |
| 274 | } |
| 275 | return false; |
| 276 | } |
| 277 | |
| 278 | const char *GuiShapeEdPreview::getFieldThreadDir( void *object, const char *data ) |
| 279 | { |
nothing calls this directly
no test coverage detected