Browse Source

fixed SpatialEditor::_init_indications. loopcounter "i" used ambiguous

ehriche 10 years ago
parent
commit
dcc93a33fd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tools/editor/plugins/spatial_editor_plugin.cpp

+ 3 - 3
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++) {