summaryrefslogtreecommitdiffstats
path: root/editor/import/resource_importer_texture_atlas.h
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2020-11-24 10:12:55 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2020-12-02 16:09:11 +0100
commite1811b689b6854668ca690831df8603820b68573 (patch)
treeb13641bf9a704ec71f8ac90f3dd8d41a1174ae04 /editor/import/resource_importer_texture_atlas.h
parentd1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (diff)
downloadredot-engine-e1811b689b6854668ca690831df8603820b68573.tar.gz
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'editor/import/resource_importer_texture_atlas.h')
-rw-r--r--editor/import/resource_importer_texture_atlas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_texture_atlas.h b/editor/import/resource_importer_texture_atlas.h
index 9d973c3d8d..d237b096d3 100644
--- a/editor/import/resource_importer_texture_atlas.h
+++ b/editor/import/resource_importer_texture_atlas.h
@@ -38,7 +38,7 @@ class ResourceImporterTextureAtlas : public ResourceImporter {
struct PackData {
Rect2 region;
- bool is_mesh;
+ bool is_mesh = false;
Vector<int> chart_pieces; //one for region, many for mesh
Vector<Vector<Vector2>> chart_vertices; //for mesh
Ref<Image> image;