diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-13 13:53:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 13:53:44 +0200 |
commit | 644bc87240dd77044fddbd018916ea8e06ead4e4 (patch) | |
tree | 6b0972b0b62832a4093383b47c2efd92e1ef6398 /editor/plugins | |
parent | e2b01a7cc6f6007996086af6aafeb4ba9aa50ae8 (diff) | |
parent | c937fe523741f9ef857e03920f1bc62c1656d7c4 (diff) |
Merge pull request #37843 from qarmin/unitialized_crash
Fixed crash caused by uninitialised variable
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 5c38a57cca..92497874c3 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -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; |