| 254 | } |
| 255 | |
| 256 | const char *GuiShapeEdPreview::getFieldThreadPos( void *object, const char *data ) |
| 257 | { |
| 258 | GuiShapeEdPreview* gui = static_cast<GuiShapeEdPreview*>( object ); |
| 259 | if ( gui && ( gui->mActiveThread >= 0 ) && gui->mThreads[gui->mActiveThread].key ) |
| 260 | return Con::getFloatArg( gui->mModel->getPos( gui->mThreads[gui->mActiveThread].key ) ); |
| 261 | else |
| 262 | return "0"; |
| 263 | } |
| 264 | |
| 265 | bool GuiShapeEdPreview::setFieldThreadDir( void *object, const char *index, const char *data ) |
| 266 | { |
nothing calls this directly
no test coverage detected