You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user