Pre-update fixes

This commit is contained in:
JannisX11 2022-09-14 22:24:55 +02:00
parent c0ff143849
commit e84495569f
5 changed files with 3 additions and 5 deletions

View File

@ -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')) {

View File

@ -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];

View File

@ -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 => {

View File

@ -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;

View File

@ -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",