| 880 | } |
| 881 | |
| 882 | void ModelViewerWidget::SetBackgroundColor(const float r, |
| 883 | const float g, |
| 884 | const float b) { |
| 885 | background_color_[0] = r; |
| 886 | background_color_[1] = g; |
| 887 | background_color_[2] = b; |
| 888 | update(); |
| 889 | } |
| 890 | |
| 891 | void ModelViewerWidget::mousePressEvent(QMouseEvent* event) { |
| 892 | if (mouse_press_timer_.isActive()) { // Select objects (2. click) |
no outgoing calls
no test coverage detected