meshlab
meshlab copied to clipboard
cannot exit 'Points' mode when loaded files contain an empty mesh
Check all platforms you experienced the issue (change to [x]
)
- [x] Windows
- [ ] Mac OS
- [ ] Linux
- [ ] Every platform
What type of issue is?
- [x] bug or unexpected behavior
- [ ] crash
- [ ] feature request
- [ ] other (specify...)
Short description
When an empty mesh file (0 vertex, 0 face) is loaded together with other files, once Points mode is enabled (for all meshes), MeshLab cannot exit this mode.
Expected Behavior
Clicking the Points
button should visualise the points on all meshes; clicking again should turn off the points visualisation for all loaded meshes.
Actual Behavior
Clicking the Points
button for the first time does visualise the points on all meshes, while doing it again (and 3rd, 4th, ... times) has no effect at all: all points stay on the scene; in the Layer Dialog only the Points mark for the empty mesh file is unchecked, leaving like this (train_16_9 is the empty one):
The Bounding Box and the Wireframe function well for the experiment.
Env
- Win10 64bit
- MeshLab_64bit_fp v 2020.07
Hi, from which file format is loaded the empty mesh? If the file is empty, the mesh should be not loaded at all and not visualized in the layer dialog.
Hi, from which file format is loaded the empty mesh? If the file is empty, the mesh should be not loaded at all and not visualized in the layer dialog.
Hi, It was in PLY format. IMHO this (the empty one file causes trouble for all other files) is still unexpected.
Sorry for the very late reply. Of course the behaviour is unexpected! Just to be sure, could you please share a couple of files that generate the issue (one should be with 0 verts and faces)?
Sure, here they are: https://drive.google.com/drive/folders/1Rxw_sqVwG7cYULh9_h02tgySCU7Vxx2a?usp=sharing
0.ply is an empty mesh and 1.ply is a cube. You could also try to load both of them multiple times.