fix leak in loadSDF in case of visuals with duplicate/identical names that have a material.
fix GUI performance issue on Mac OSX fix issue introduced in previous commit (in btConvexHullComputer.cpp)
This commit is contained in:
@@ -1277,21 +1277,21 @@ void btConvexHullInternal::computeInternal(int start, int end, IntermediateHull&
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
Vertex* v = originalVertices[start];
|
||||
v->edges = NULL;
|
||||
v->next = v;
|
||||
v->prev = v;
|
||||
{
|
||||
Vertex* v = originalVertices[start];
|
||||
v->edges = NULL;
|
||||
v->next = v;
|
||||
v->prev = v;
|
||||
|
||||
result.minXy = v;
|
||||
result.maxXy = v;
|
||||
result.minYx = v;
|
||||
result.maxYx = v;
|
||||
result.minXy = v;
|
||||
result.maxXy = v;
|
||||
result.minYx = v;
|
||||
result.maxYx = v;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
case 1:
|
||||
{
|
||||
Vertex* v = originalVertices[start];
|
||||
|
||||
Reference in New Issue
Block a user