From 3e6aaec19342367304d4ded3bcfb0cc91a8124c4 Mon Sep 17 00:00:00 2001 From: MarianoGNU Date: Mon, 28 Sep 2015 00:06:06 -0300 Subject: Add SpriteRegionEditor and update Polygon2DUVEditor Both with snap and grid support --- scene/2d/sprite.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/2d') diff --git a/scene/2d/sprite.cpp b/scene/2d/sprite.cpp index 6705cebf37..87697fc073 100644 --- a/scene/2d/sprite.cpp +++ b/scene/2d/sprite.cpp @@ -189,6 +189,7 @@ void Sprite::set_region_rect(const Rect2& p_region_rect) { if (region && changed) { update(); item_rect_changed(); + _change_notify("region_rect"); } } -- cgit v1.2.3