| 290 | } |
| 291 | |
| 292 | void GridMapEditor::_set_selection(bool p_active, const Vector3 &p_begin, const Vector3 &p_end) { |
| 293 | selection.active = p_active; |
| 294 | selection.begin = p_begin; |
| 295 | selection.end = p_end; |
| 296 | selection.click = p_begin; |
| 297 | selection.current = p_end; |
| 298 | |
| 299 | if (is_visible_in_tree()) { |
| 300 | _update_selection_transform(); |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | AABB GridMapEditor::_get_selection() const { |
| 305 | AABB ret; |
no outgoing calls
no test coverage detected