Manifold mesh may contain self-intersections, so we want to always allow fixing the mesh.

This is a fix of a regression wrt. https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.4.0-alpha2
This commit is contained in:
Vojtech Bubnik 2021-10-04 10:39:53 +02:00
parent 9c177cf167
commit e533d237f9
3 changed files with 17 additions and 7 deletions

View file

@ -36,6 +36,9 @@ typedef double coordf_t;
typedef std::pair<coordf_t, coordf_t> t_layer_height_range;
typedef std::map<t_layer_height_range, ModelConfig> t_layer_config_ranges;
// Manifold mesh may contain self-intersections, so we want to always allow fixing the mesh.
#define FIX_THROUGH_NETFABB_ALWAYS 1
namespace GUI {
wxDECLARE_EVENT(EVT_OBJ_LIST_OBJECT_SELECT, SimpleEvent);