Merge pull request #34618 from qarmin/vector_please_dont_crash
Don't use constant reference in Vector push_back, insert and append_array
This commit is contained in:
commit
bde52cc688
2 changed files with 8 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue