Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 12a7f9d

Browse files
committedSep 12, 2024·
fix #1456: crash when running iso parametrization: main on low resolution meshes
1 parent ad347bd commit 12a7f9d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎.devcontainer/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
1717
dbus-x11 \
1818
fontconfig \
1919
fuse \
20+
gdb \
2021
git \
2122
kmod \
2223
libboost-dev \

‎src/meshlabplugins/filter_isoparametrization/parametrizator.h

+2
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ class IsoParametrizator{
599599
///set the best value considering the ratio value
600600
bool SetBestStatus(bool test_interpolation)
601601
{
602+
if (ParaStack.size() == 0)
603+
return false;
602604
std::sort(ParaStack.begin(),ParaStack.end());
603605
int indexmin=0;
604606
bool isOK_interp;

0 commit comments

Comments
 (0)
Please sign in to comment.