//////////////////////////////////////////////////////////////// TEditorClient -------------
| 4392 | // ------------- |
| 4393 | // |
| 4394 | void TEditorClient::CmCheckNames () |
| 4395 | { |
| 4396 | // Ignore if "insert object" mode |
| 4397 | if ( InsertingObject ) |
| 4398 | return; |
| 4399 | |
| 4400 | SET_HELP_CONTEXT(Check_textures_names); |
| 4401 | |
| 4402 | // UNDO |
| 4403 | StartUndoRecording("Check names"); |
| 4404 | |
| 4405 | // Check that textures names are valid |
| 4406 | // LEVEL CHANGES: Some invalid textures names may be set to default names |
| 4407 | if ( CheckTextureNames() ) |
| 4408 | { |
| 4409 | // Redraw map to go to the invalid object |
| 4410 | RefreshWindows (); |
| 4411 | } |
| 4412 | |
| 4413 | // UNDO |
| 4414 | StopUndoRecording(); |
| 4415 | |
| 4416 | RESTORE_HELP_CONTEXT(); |
| 4417 | } |
| 4418 | |
| 4419 | |
| 4420 | ///////////////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected