diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-02 20:42:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 20:42:20 +0100 |
commit | b36ff888a0e5b4fa2c53cce8ed78321d727bc041 (patch) | |
tree | f9bca7f6950e8a69fd61c0ea8b341a4976accb80 /editor/plugins | |
parent | 3beab2646fa8744a84382d9fcfb73848404fe5b5 (diff) | |
parent | 70f5972905a5ea6916e9aab909f9a34b963f67b1 (diff) |
Merge pull request #44025 from reduz/refactor-mesh
Refactored Mesh internals and formats.
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 3bd5603acc..d0928683fd 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -5345,7 +5345,7 @@ void Node3DEditor::_init_indicators() { Vector2 ofs = Vector2(Math::cos((Math_PI * 2.0 * k) / m), Math::sin((Math_PI * 2.0 * k) / m)); Vector3 normal = ivec * ofs.x + ivec2 * ofs.y; - surftool->add_normal(basis.xform(normal)); + surftool->set_normal(basis.xform(normal)); surftool->add_vertex(vertex); } } |