Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
fix labels of sub-meshes
Browse files Browse the repository at this point in the history
  • Loading branch information
takashi310 committed Mar 30, 2023
1 parent 0a63905 commit 8b7afa5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fluorender/FluoRender/VRenderFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,10 @@ void VRenderFrame::ConvertCSV2SWC(wxString filename, VRenderView* vrv)
if (link < 0)
{
if (elems.Count() >= 8)
annotations->AddText(elems[7].ToStdString(), pos, "");
{
if (!elems[7].AfterLast('.').IsSameAs("links"))
annotations->AddText(elems[7].AfterLast('_').ToStdString(), pos, "");
}
else
annotations->AddText(gname.ToStdString(), pos, "");
}
Expand Down

0 comments on commit 8b7afa5

Please sign in to comment.