Browse Source

Fix build error on master

Poommetee Ketson 8 years ago
parent
commit
0200507387
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/curve.cpp

+ 1 - 1
scene/resources/curve.cpp

@@ -442,7 +442,7 @@ int Curve::add_point(Vector2 p_pos, real_t left_tangent, real_t right_tangent, T
 		}
 		}
 	}
 	}
 
 
-	update_auto_tangents(i);
+	update_auto_tangents(ret);
 
 
 	mark_dirty();
 	mark_dirty();