Skip to content

Commit

Permalink
Merge pull request #37843 from qarmin/unitialized_crash
Browse files Browse the repository at this point in the history
Fixed crash caused by uninitialised variable
  • Loading branch information
akien-mga authored Apr 13, 2020
2 parents e2b01a7 + c937fe5 commit 644bc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/node_3d_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 644bc87

Please sign in to comment.