Revision a886f1fc
Added by Leszek Koltunski about 6 years ago
src/main/java/org/distorted/examples/effects3d/Effects3DActivity.java | ||
---|---|---|
69 | 69 |
mSlicPicker = findViewById(R.id.objectpicker_slices); |
70 | 70 |
|
71 | 71 |
mColsPicker.setMaxValue(40); |
72 |
mColsPicker.setMinValue( 0);
|
|
72 |
mColsPicker.setMinValue( 1);
|
|
73 | 73 |
mRowsPicker.setMaxValue(40); |
74 |
mRowsPicker.setMinValue( 0);
|
|
74 |
mRowsPicker.setMinValue( 1);
|
|
75 | 75 |
mSlicPicker.setMaxValue(40); |
76 | 76 |
mSlicPicker.setMinValue( 0); |
77 | 77 |
|
src/main/java/org/distorted/examples/inflate/InflateActivity.java | ||
---|---|---|
69 | 69 |
mSlicPicker = findViewById(R.id.objectpicker_slices); |
70 | 70 |
|
71 | 71 |
mColsPicker.setMaxValue(40); |
72 |
mColsPicker.setMinValue( 0);
|
|
72 |
mColsPicker.setMinValue( 1);
|
|
73 | 73 |
mRowsPicker.setMaxValue(40); |
74 |
mRowsPicker.setMinValue( 0);
|
|
74 |
mRowsPicker.setMinValue( 1);
|
|
75 | 75 |
mSlicPicker.setMaxValue(40); |
76 | 76 |
mSlicPicker.setMinValue( 0); |
77 | 77 |
|
Also available in: Unified diff
Do not let users choose a Mesh with cols or rows equal to 0.