Skip to content

Commit

Permalink
fix #1456: crash when running iso parametrization: main on low resolu…
Browse files Browse the repository at this point in the history
…tion meshes
  • Loading branch information
alemuntoni committed Sep 12, 2024
1 parent ad347bd commit 12a7f9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
dbus-x11 \
fontconfig \
fuse \
gdb \
git \
kmod \
libboost-dev \
Expand Down
2 changes: 2 additions & 0 deletions src/meshlabplugins/filter_isoparametrization/parametrizator.h
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ class IsoParametrizator{
///set the best value considering the ratio value
bool SetBestStatus(bool test_interpolation)
{
if (ParaStack.size() == 0)
return false;
std::sort(ParaStack.begin(),ParaStack.end());
int indexmin=0;
bool isOK_interp;
Expand Down

0 comments on commit 12a7f9d

Please sign in to comment.