Fix collada scale issue

Bump version to 4.1.0
This commit is contained in:
JannisX11 2021-12-21 18:13:04 +01:00
parent 30297c67dd
commit a7356d12f6
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
<script>
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
const isApp = typeof require !== 'undefined';
const appVersion = '4.1.0-beta.2';
const appVersion = '4.1.0';
if (localStorage.getItem('theme')) {

View File

@ -159,7 +159,7 @@ var codec = new Codec('collada', {
let primitive = [];
function addPosition(x, y, z) {
positions.push(x - cube.origin[0], y - cube.origin[1], z - cube.origin[2]);
positions.push((x - cube.origin[0]) / 16, (y - cube.origin[1]) / 16, (z - cube.origin[2]) / 16);
}
addPosition(cube.to[0] + cube.inflate, cube.to[1] + cube.inflate, cube.to[2] + cube.inflate);

View File

@ -1,7 +1,7 @@
{
"name": "Blockbench",
"description": "Low-poly modeling and animation software",
"version": "4.1.0-beta.2",
"version": "4.1.0",
"license": "GPL-3.0-or-later",
"author": {
"name": "JannisX11",