aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/spatial_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-05-09 13:09:20 -0300
committerJuan Linietsky2015-05-09 13:09:20 -0300
commit1fd1b7a91b2f60a2841b9684e1e41728275cedaf (patch)
tree17678512dde4890e941c78ba90ba23b184e2ae9a /tools/editor/plugins/spatial_editor_plugin.cpp
parent1a7d370fcf7382a9e248925a7eef12d28e0bb9e3 (diff)
parent158785636c809d5ebdb6995a088c7776ce45e65c (diff)
downloadgodot-1fd1b7a91b2f60a2841b9684e1e41728275cedaf.tar.gz
godot-1fd1b7a91b2f60a2841b9684e1e41728275cedaf.tar.zst
godot-1fd1b7a91b2f60a2841b9684e1e41728275cedaf.zip
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp
index 4dae60399..ac2ea9799 100644
--- a/tools/editor/plugins/spatial_editor_plugin.cpp
+++ b/tools/editor/plugins/spatial_editor_plugin.cpp
@@ -3172,11 +3172,11 @@ void SpatialEditor::_init_indicators() {
int arrow_sides=6;
- for(int i = 0; i < 7 ; i++) {
+ for(int k = 0; k < 7 ; k++) {
- Matrix3 ma(ivec,Math_PI*2*float(i)/arrow_sides);
- Matrix3 mb(ivec,Math_PI*2*float(i+1)/arrow_sides);
+ Matrix3 ma(ivec,Math_PI*2*float(k)/arrow_sides);
+ Matrix3 mb(ivec,Math_PI*2*float(k+1)/arrow_sides);
for(int j=0;j<arrow_points-1;j++) {