make path update when curve changes, fixes #3144

This commit is contained in:
Juan Linietsky 2016-01-10 18:01:16 -03:00
parent 0c9a2244d7
commit 5b088b41b3

View file

@ -74,6 +74,8 @@ void Path2D::set_curve(const Ref<Curve2D>& p_curve) {
curve->connect("changed",this,"_curve_changed");
}
_curve_changed();
}
Ref<Curve2D> Path2D::get_curve() const{