Maintain editor properties vector ratio when set to 0
This commit is contained in:
parent
51991e2014
commit
bacdc6ae91
1 changed files with 0 additions and 2 deletions
|
@ -105,8 +105,6 @@ void EditorPropertyVectorN::_update_ratio() {
|
|||
|
||||
if (spin_sliders[base_slider_idx]->get_value() != 0) {
|
||||
ratio_write[i] = spin_sliders[secondary_slider_idx]->get_value() / spin_sliders[base_slider_idx]->get_value();
|
||||
} else {
|
||||
ratio_write[i] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue