You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
bullet: Sync with upstream 3.24
Remove upstreamed patch.
This commit is contained in:
@@ -135,7 +135,11 @@ public:
|
||||
|
||||
int otherSize = otherArray.size();
|
||||
resize(otherSize);
|
||||
otherArray.copy(0, otherSize, m_data);
|
||||
//don't use otherArray.copy, it can leak memory
|
||||
for (int i = 0; i < otherSize; i++)
|
||||
{
|
||||
m_data[i] = otherArray[i];
|
||||
}
|
||||
}
|
||||
|
||||
/// return the number of elements in the array
|
||||
@@ -506,7 +510,11 @@ public:
|
||||
{
|
||||
int otherSize = otherArray.size();
|
||||
resize(otherSize);
|
||||
otherArray.copy(0, otherSize, m_data);
|
||||
//don't use otherArray.copy, it can leak memory
|
||||
for (int i = 0; i < otherSize; i++)
|
||||
{
|
||||
m_data[i] = otherArray[i];
|
||||
}
|
||||
}
|
||||
|
||||
void removeAtIndex(int index)
|
||||
|
||||
Reference in New Issue
Block a user