mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Pre-update fixes
This commit is contained in:
parent
c0ff143849
commit
e84495569f
@ -26,7 +26,7 @@
|
||||
<script>
|
||||
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
|
||||
const isApp = typeof require !== 'undefined';
|
||||
const appVersion = '4.4.0-beta.3';
|
||||
const appVersion = '4.4.0';
|
||||
|
||||
|
||||
if (localStorage.getItem('theme')) {
|
||||
|
@ -743,7 +743,6 @@ class NumSlider extends Widget {
|
||||
|
||||
if (this.slider_vector && text.split(/\s+/g).length == this.slider_vector.length) {
|
||||
let components = text.split(/\s+/g);
|
||||
console.log(text, components);
|
||||
|
||||
components.forEach((number, axis) => {
|
||||
let slider = this.slider_vector[axis];
|
||||
|
@ -1267,7 +1267,7 @@ var block_format = new ModelFormat({
|
||||
|
||||
let center = [-7, 1, -7, 7, 15, 7];
|
||||
Cube.all.forEach(cube => {
|
||||
//if (exclude_cubes.includes(cube)) return;
|
||||
if (exclude_cubes.includes(cube)) return;
|
||||
let vertices = block_format.cube_size_limiter.getCubeVertexCoordinates(cube, cube);
|
||||
|
||||
vertices.forEach(array => {
|
||||
|
@ -1099,7 +1099,6 @@ const Painter = {
|
||||
mix[ch] = ((normal_base - normal_added) * added.a) + (normal_base * (1-added.a));
|
||||
break;
|
||||
|
||||
// Todo: Equations for remaining blend modes
|
||||
case 'screen':
|
||||
mix[ch] = ((1 - ((1-normal_base) * (1-normal_added))) * added.a) + (normal_base * (1-added.a));
|
||||
break;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Blockbench",
|
||||
"description": "Low-poly modeling and animation software",
|
||||
"version": "4.4.0-beta.3",
|
||||
"version": "4.4.0",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"author": {
|
||||
"name": "JannisX11",
|
||||
|
Loading…
Reference in New Issue
Block a user