mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-30 15:42:42 +08:00
Make rotation_snap false by default
This commit is contained in:
parent
883c5cf105
commit
14c9e5c094
@ -253,7 +253,7 @@ new Property(ModelFormat, 'boolean', 'meshes');
|
||||
new Property(ModelFormat, 'boolean', 'texture_meshes');
|
||||
new Property(ModelFormat, 'boolean', 'locators');
|
||||
new Property(ModelFormat, 'boolean', 'rotation_limit');
|
||||
new Property(ModelFormat, 'boolean', 'rotation_snap', {default: true});
|
||||
new Property(ModelFormat, 'boolean', 'rotation_snap');
|
||||
new Property(ModelFormat, 'boolean', 'uv_rotation');
|
||||
new Property(ModelFormat, 'boolean', 'java_face_properties');
|
||||
new Property(ModelFormat, 'boolean', 'select_texture_for_particles');
|
||||
|
@ -486,6 +486,7 @@ var format = new ModelFormat({
|
||||
vertex_color_ambient_occlusion: true,
|
||||
rotate_cubes: true,
|
||||
rotation_limit: true,
|
||||
rotation_snap: true,
|
||||
optional_box_uv: true,
|
||||
uv_rotation: true,
|
||||
java_face_properties: true,
|
||||
|
@ -837,7 +837,7 @@ function moveElementsInSpace(difference, axis) {
|
||||
|
||||
//Rotate
|
||||
function getRotationInterval(event) {
|
||||
if (Format.rotation_limit && Format.rotation_snap) {
|
||||
if (Format.rotation_snap) {
|
||||
return 22.5;
|
||||
} else if ((event.shiftKey || Pressing.overrides.shift) && (event.ctrlOrCmd || Pressing.overrides.ctrl)) {
|
||||
return 0.25;
|
||||
|
Loading…
Reference in New Issue
Block a user