Follow-up of 9ddf2ba41c
- Code cleanup
Fixed conflicts during rebase with master
This commit is contained in:
parent
ad6dcf3f10
commit
9e0bb83041
2 changed files with 4 additions and 15 deletions
|
@ -596,12 +596,9 @@ bool Selection::requires_uniform_scale() const
|
|||
#if ENABLE_WORLD_COORDINATE
|
||||
if (is_single_modifier() || is_single_volume())
|
||||
return !Geometry::is_rotation_ninety_degrees(Geometry::Transformation(get_volume(*m_list.begin())->world_matrix()).get_rotation());
|
||||
else if (is_single_full_instance()) {
|
||||
if (wxGetApp().obj_manipul()->get_world_coordinates())
|
||||
return !Geometry::is_rotation_ninety_degrees(get_volume(*m_list.begin())->get_instance_rotation());
|
||||
else
|
||||
return false;
|
||||
}
|
||||
else if (is_single_full_instance())
|
||||
return wxGetApp().obj_manipul()->get_world_coordinates() ?
|
||||
!Geometry::is_rotation_ninety_degrees(get_volume(*m_list.begin())->get_instance_rotation()) : false;
|
||||
|
||||
return true;
|
||||
#else
|
||||
|
@ -610,7 +607,7 @@ bool Selection::requires_uniform_scale() const
|
|||
|
||||
return true;
|
||||
#endif // ENABLE_WORLD_COORDINATE
|
||||
}
|
||||
}
|
||||
|
||||
int Selection::get_object_idx() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue