Fix some issue with TileMap's and other nodes' boundaries
Fixes #30348 Addresses a small part of #30012
This commit is contained in:
parent
3bfffcc568
commit
ebf2a4d553
4 changed files with 18 additions and 7 deletions
|
|
@ -58,7 +58,7 @@ Rect2 Path2D::_edit_get_rect() const {
|
|||
}
|
||||
|
||||
bool Path2D::_edit_use_rect() const {
|
||||
return true;
|
||||
return curve.is_valid() && curve->get_point_count() != 0;
|
||||
}
|
||||
|
||||
bool Path2D::_edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue