This commit is contained in:
JannisX11 2020-05-31 18:43:41 +02:00
parent 6a4d37e7b6
commit b2cd316ae7
6 changed files with 967 additions and 980 deletions

View File

@ -2,7 +2,6 @@ sudo: required
dist: trusty
language: node_js
node_js: "10"
jobs:
include:
@ -35,7 +34,7 @@ cache:
- node_modules
install:
- nvm install 10
- nvm install 12.17.0
- npm install electron-builder
notifications:

View File

@ -24,7 +24,7 @@
<script>
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
const isApp = typeof require !== 'undefined';
const appVersion = '3.5.3';
const appVersion = '3.5.4';
</script>
<div id="loading_error_message" style="display: none;">
<div>An error occurred while loading Blockbench</div>

View File

@ -205,6 +205,14 @@ function refreshUpdateDialog() {
})
}
function installUpdate() {
Blockbench.showMessageBox({
title: 'Updater',
icon: 'update',
message: 'The built-in updater is currently unavailable. Please download updates from https://blockbench.net/downloads for now!',
})
return;
console.log('Starting Update')
var received_bytes = 0;
var total_bytes = 0;

View File

@ -1575,16 +1575,13 @@ function buildGrid() {
three_grid.add(line)
}
//Axis Lines
if (Format.centered_grid || !settings.full_grid.value) {
if (settings.base_grid.value) {
var length = Format.centered_grid
? (settings.full_grid.value ? 24 : 8)
: 16
setupAxisLine(new THREE.Vector3( 0, 0.001, 0), length, 'x')
setupAxisLine(new THREE.Vector3( 0, 0.001, 0), length, 'z')
} else {
setupAxisLine(new THREE.Vector3( -16, 0.001, -16), 48, 'x')
setupAxisLine(new THREE.Vector3( -16, 0.001, -16), 48, 'z')
}
var side_grid = new THREE.Object3D()

1927
lib/three.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"name": "Blockbench",
"description": "Model editing and animation software",
"version": "3.5.3",
"version": "3.5.4",
"license": "MIT",
"author": {
"name": "JannisX11",