| 373 | //----------------------------------------------------------------------------- |
| 374 | |
| 375 | StringTableEntry GuiTreeViewCtrl::Item::getValue() |
| 376 | { |
| 377 | if(mState.test(InspectorData)) |
| 378 | { |
| 379 | Con::errorf("Tried to get the value for item %d, which is InspectorData!", mId); |
| 380 | return NULL; |
| 381 | } |
| 382 | |
| 383 | return ( mScriptInfo.mValue ) ? mScriptInfo.mValue : StringTable->EmptyString(); |
| 384 | } |
| 385 | |
| 386 | //----------------------------------------------------------------------------- |
| 387 |
no test coverage detected