From b06d235ce8634167cc1c37814f915e06ec0fa326 Mon Sep 17 00:00:00 2001 From: George Marques Date: Thu, 23 Jun 2016 17:59:28 -0300 Subject: [PATCH] Rename CanvasItem.edit_get() to edit_get_state() This makes more sense of what it does and correlates to edit_set_state() --- scene/2d/canvas_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp index eb37634b24c..976a5c4f1ed 100644 --- a/scene/2d/canvas_item.cpp +++ b/scene/2d/canvas_item.cpp @@ -1023,7 +1023,7 @@ void CanvasItem::_bind_methods() { ObjectTypeDB::bind_method(_MD("_is_visible_"),&CanvasItem::_is_visible_); ObjectTypeDB::bind_method(_MD("edit_set_state","state"),&CanvasItem::edit_set_state); - ObjectTypeDB::bind_method(_MD("edit_get"),&CanvasItem::edit_get_state); + ObjectTypeDB::bind_method(_MD("edit_get_state:Variant"),&CanvasItem::edit_get_state); ObjectTypeDB::bind_method(_MD("edit_set_rect","rect"),&CanvasItem::edit_set_rect); ObjectTypeDB::bind_method(_MD("edit_rotate","degrees"),&CanvasItem::edit_rotate);