Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations
This commit is contained in:
commit
9510c4b4fa
55 changed files with 447 additions and 373 deletions
|
@ -2094,6 +2094,16 @@ std::vector<unsigned int> Selection::get_unselected_volume_idxs_from(const std::
|
|||
return idxs;
|
||||
}
|
||||
|
||||
std::set<unsigned int> Selection::get_object_idxs() const
|
||||
{
|
||||
std::set<unsigned int> idxs;
|
||||
|
||||
for (unsigned int i : m_list)
|
||||
idxs.emplace((*m_volumes)[i]->object_idx());
|
||||
|
||||
return idxs;
|
||||
}
|
||||
|
||||
void Selection::update_valid()
|
||||
{
|
||||
m_valid = (m_volumes != nullptr) && (m_model != nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue