Merge pull request #37843 from qarmin/unitialized_crash

Fixed crash caused by uninitialised variable
This commit is contained in:
Rémi Verschelde 2020-04-13 13:53:44 +02:00 committed by GitHub
commit 644bc87240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3846,7 +3846,7 @@ void Node3DEditorViewport::drop_data_fw(const Point2 &p_point, const Variant &p_
Node3DEditorViewport::Node3DEditorViewport(Node3DEditor *p_spatial_editor, EditorNode *p_editor, int p_index) {
cpu_time_history_index = 0;
cpu_time_history_index = 0;
gpu_time_history_index = 0;
_edit.mode = TRANSFORM_NONE;
_edit.plane = TRANSFORM_VIEW;