Fixed erroneous use of logical OR where bitwise OR was meant

Also, PrintBase::SlicingStatus enum had two entries assigned to 0 - removed the one that was never used
This commit is contained in:
Lukas Matena 2019-09-25 12:06:38 +02:00
parent fdbe339622
commit dbc51a140d
2 changed files with 2 additions and 3 deletions

View file

@ -268,8 +268,7 @@ public:
std::string text;
// Bitmap of flags.
enum FlagBits {
DEFAULT,
NO_RELOAD_SCENE = 0,
DEFAULT = 0,
RELOAD_SCENE = 1 << 1,
RELOAD_SLA_SUPPORT_POINTS = 1 << 2,
RELOAD_SLA_PREVIEW = 1 << 3,