make path update when curve changes, fixes #3144
This commit is contained in:
parent
0c9a2244d7
commit
5b088b41b3
1 changed files with 2 additions and 0 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue