FIX: Revert uniform scale modify
Revert "ENH: save uniform scale to an app_config item" Revert "ENH: do uniform scale if uniform_scale is true" Change-Id: I069baecec143e77d796247f29cd5478b877971fb (cherry picked from commit c7cf95cf5c365f314a53fead6612fac84a0a5f71)
This commit is contained in:
@@ -120,16 +120,6 @@ void GLGizmoScale3D::on_start_dragging()
|
||||
|
||||
void GLGizmoScale3D::on_update(const UpdateData& data)
|
||||
{
|
||||
bool uniform_scale = false;
|
||||
AppConfig* config = wxGetApp().app_config;
|
||||
if (config)
|
||||
uniform_scale = config->get("uniform_scale") == "1" ? true : false;
|
||||
|
||||
if (uniform_scale) {
|
||||
do_scale_uniform(data);
|
||||
return;
|
||||
}
|
||||
|
||||
if ((m_hover_id == 0) || (m_hover_id == 1))
|
||||
do_scale_along_axis(X, data);
|
||||
else if ((m_hover_id == 2) || (m_hover_id == 3))
|
||||
|
||||
Reference in New Issue
Block a user