Remove the selection rect for nodes that do not require it
This commit is contained in:
parent
6435894275
commit
72ed1e4244
34 changed files with 427 additions and 248 deletions
|
|
@ -1119,6 +1119,10 @@ Rect2 TileMap::_edit_get_rect() const {
|
|||
return rect_cache;
|
||||
}
|
||||
|
||||
bool TileMap::_edit_use_rect() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void TileMap::set_collision_layer(uint32_t p_layer) {
|
||||
|
||||
collision_layer = p_layer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue