Fix debug rendering in TileMapLayer
This commit is contained in:
@@ -105,6 +105,9 @@ struct CellData {
|
||||
Vector2i coords;
|
||||
TileMapCell cell;
|
||||
|
||||
// Debug
|
||||
SelfList<CellData> debug_quadrant_list_element;
|
||||
|
||||
// Rendering.
|
||||
Ref<RenderingQuadrant> rendering_quadrant;
|
||||
SelfList<CellData> rendering_quadrant_list_element;
|
||||
@@ -143,6 +146,7 @@ struct CellData {
|
||||
}
|
||||
|
||||
CellData(const CellData &p_other) :
|
||||
debug_quadrant_list_element(this),
|
||||
rendering_quadrant_list_element(this),
|
||||
#ifndef PHYSICS_2D_DISABLED
|
||||
physics_quadrant_list_element(this),
|
||||
@@ -157,6 +161,7 @@ struct CellData {
|
||||
}
|
||||
|
||||
CellData() :
|
||||
debug_quadrant_list_element(this),
|
||||
rendering_quadrant_list_element(this),
|
||||
#ifndef PHYSICS_2D_DISABLED
|
||||
physics_quadrant_list_element(this),
|
||||
|
||||
Reference in New Issue
Block a user