You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
PoolVector is gone, replaced by Vector
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
This commit is contained in:
committed by
Juan Linietsky
parent
fb8c93c10b
commit
3205a92ad8
@@ -5987,7 +5987,7 @@ void CanvasItemEditorViewport::_create_nodes(Node *parent, Node *child, String &
|
||||
if (default_type == "NinePatchRect") {
|
||||
editor_data->get_undo_redo().add_do_property(child, "rect/size", texture_size);
|
||||
} else if (default_type == "Polygon2D") {
|
||||
PoolVector<Vector2> list;
|
||||
Vector<Vector2> list;
|
||||
list.push_back(Vector2(0, 0));
|
||||
list.push_back(Vector2(texture_size.width, 0));
|
||||
list.push_back(Vector2(texture_size.width, texture_size.height));
|
||||
|
||||
Reference in New Issue
Block a user