mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +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:
parent
fb8c93c10b
commit
3205a92ad8
406 changed files with 5314 additions and 8271 deletions
|
|
@ -2164,10 +2164,10 @@ void VisualShaderEditor::drop_data_fw(const Point2 &p_point, const Variant &p_da
|
|||
saved_node_pos_dirty = true;
|
||||
_add_node(idx, add_options[idx].sub_func);
|
||||
} else if (d.has("files")) {
|
||||
if (d["files"].get_type() == Variant::POOL_STRING_ARRAY) {
|
||||
if (d["files"].get_type() == Variant::PACKED_STRING_ARRAY) {
|
||||
|
||||
int j = 0;
|
||||
PoolStringArray arr = d["files"];
|
||||
PackedStringArray arr = d["files"];
|
||||
for (int i = 0; i < arr.size(); i++) {
|
||||
|
||||
String type = ResourceLoader::get_resource_type(arr[i]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue