mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed bug where a polygon could sometimes get the wrong color when imported.
This commit is contained in:
parent
392f399b89
commit
29c58ca1c3
1 changed files with 1 additions and 1 deletions
|
@ -1840,7 +1840,7 @@ static void CreateMesh(group_t* pGroup, lineinfo_t* info, LC_LDRAW_PIECE* piece)
|
|||
NewEntry.Color = Line->color;
|
||||
|
||||
ColorGroups.AddSorted(NewEntry, ColorGroupCompare, NULL);
|
||||
Group = &ColorGroups[ColorGroups.GetSize() - 1];
|
||||
continue;
|
||||
}
|
||||
|
||||
lineinfo_t* NextLine = Line->next;
|
||||
|
|
Loading…
Reference in a new issue