bugfix top/bottom solid infill

This commit is contained in:
supermerill 2018-06-27 12:32:10 +02:00
parent 2358d41162
commit fdf8c71206

View File

@ -473,7 +473,7 @@ void Choice::set_value(const boost::any& value, bool change_event)
} }
case coEnum:{ case coEnum:{
int val = boost::any_cast<int>(value); int val = boost::any_cast<int>(value);
if (m_opt_id.compare("external_fill_pattern") == 0) if (m_opt_id.compare("top_fill_pattern") == 0 || m_opt_id.compare("bottom_fill_pattern") == 0 )
{ {
if (!m_opt.enum_values.empty()){ if (!m_opt.enum_values.empty()){
std::string key; std::string key;