mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 19:52:39 -07:00
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:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user