Added a modifier selection in the object list
+ set box-subobject's center to the objects center + fixed bug in PrusaObjectDataViewModel.Delete(), when deleting last volume_idx
This commit is contained in:
parent
df658713bf
commit
d20bac7039
3 changed files with 11 additions and 4 deletions
src/slic3r/GUI
|
@ -86,6 +86,8 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent):
|
|||
|
||||
if (option_name == "Rotation")
|
||||
def.min = -360;
|
||||
else
|
||||
def.min == -1000;
|
||||
|
||||
const std::string lower_name = boost::algorithm::to_lower_copy(option_name);
|
||||
|
||||
|
@ -164,7 +166,7 @@ int ObjectManipulation::ol_selection()
|
|||
void ObjectManipulation::update_settings_value(const GLCanvas3D::Selection& selection)
|
||||
{
|
||||
#if ENABLE_MODELVOLUME_TRANSFORM
|
||||
if (selection.is_single_full_instance())
|
||||
if (selection.is_single_full_instance() || selection.is_single_full_object())
|
||||
#else
|
||||
if (selection.is_single_full_object())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue