| 47 | } |
| 48 | |
| 49 | void NavmeshRegionObject::Draw() { |
| 50 | // Check if we should be drawn. |
| 51 | if (scenegraph_->map_editor->state_ == MapEditor::kInGame || Graphics::Instance()->media_mode() || ActiveCameras::Instance()->Get()->GetFlags() == Camera::kPreviewCamera) { |
| 52 | return; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | void NavmeshRegionObject::GetDesc(EntityDescription& desc) const { |
| 57 | Object::GetDesc(desc); |
nothing calls this directly
no test coverage detected