Use a slider for the cutting GUI

This commit is contained in:
Alessandro Ranellucci 2014-04-25 18:36:08 +02:00
parent 8db4913b04
commit 2a2ba15665
2 changed files with 19 additions and 3 deletions

View file

@ -34,9 +34,11 @@ sub new {
options => [
{
opt_key => 'z',
type => 'f',
type => 'slider',
label => 'Z',
default => $self->{cut_options}{z},
min => 0,
max => $self->{model_object}->bounding_box->size->z,
},
{
opt_key => 'keep_upper',