From 5b088b41b3147cc19f2d5bc56b762bd5988bc484 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 10 Jan 2016 18:01:16 -0300 Subject: make path update when curve changes, fixes #3144 --- scene/2d/path_2d.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene') 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& p_curve) { curve->connect("changed",this,"_curve_changed"); } + _curve_changed(); + } Ref Path2D::get_curve() const{ -- cgit v1.2.3