summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-02 15:44:41 +0100
committerGitHub <noreply@github.com>2020-01-02 15:44:41 +0100
commitbde52cc6881b3cb84602ffba1dede0a0180dbe4f (patch)
treef67c59395fd2f19a6308ebb95ad9522a315e29f0 /editor/import
parent0dc267634be5f210047756d1b06ea6fb2b83e162 (diff)
parent1ac701cc378d002817463d9e4101f8866254fe42 (diff)
Merge pull request #34618 from qarmin/vector_please_dont_crash
Don't use constant reference in Vector push_back, insert and append_array
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/editor_scene_importer_gltf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/import/editor_scene_importer_gltf.h b/editor/import/editor_scene_importer_gltf.h
index 579d4037b7..4a91b99aa7 100644
--- a/editor/import/editor_scene_importer_gltf.h
+++ b/editor/import/editor_scene_importer_gltf.h
@@ -172,7 +172,10 @@ class EditorSceneImporterGLTF : public EditorSceneImporter {
min = 0;
max = 0;
sparse_count = 0;
+ sparse_indices_buffer_view = 0;
sparse_indices_byte_offset = 0;
+ sparse_indices_component_type = 0;
+ sparse_values_buffer_view = 0;
sparse_values_byte_offset = 0;
}
};