mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 14:41:07 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
parent
60dcc4f39c
commit
e28fd07b2b
371 changed files with 1318 additions and 1318 deletions
|
|
@ -227,7 +227,7 @@ void SpriteFramesEditor::_sheet_add_frames() {
|
|||
int y = (yp * height) + region_rect.position.y;
|
||||
|
||||
Ref<AtlasTexture> at;
|
||||
at.instance();
|
||||
at.instantiate();
|
||||
at->set_atlas(split_sheet_preview->get_texture());
|
||||
at->set_region(Rect2(x, y, width, height));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue