diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-10 18:01:16 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-10 18:01:16 -0300 |
commit | 5b088b41b3147cc19f2d5bc56b762bd5988bc484 (patch) | |
tree | 5b9c82628f02adab4d86479048c5396d498feb9a /scene | |
parent | 0c9a2244d722bd463b9ef0c430ee0cff0bb30cb9 (diff) |
make path update when curve changes, fixes #3144
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/path_2d.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/path_2d.cpp b/scene/2d/path_2d.cpp index f135864098..bd7415aa04 100644 --- a/scene/2d/path_2d.cpp +++ b/scene/2d/path_2d.cpp @@ -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{ |