Rename CanvasItem.edit_get() to edit_get_state()

This makes more sense of what it does and correlates to edit_set_state()
This commit is contained in:
George Marques 2016-06-23 17:59:28 -03:00
parent 98b02209a4
commit b06d235ce8
No known key found for this signature in database
GPG Key ID: 046BD46A3201E43D
1 changed files with 1 additions and 1 deletions

View File

@ -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);