mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-05 15:50:21 +08:00
Fix collada scale issue
Bump version to 4.1.0
This commit is contained in:
parent
30297c67dd
commit
a7356d12f6
@ -25,7 +25,7 @@
|
|||||||
<script>
|
<script>
|
||||||
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
|
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
|
||||||
const isApp = typeof require !== 'undefined';
|
const isApp = typeof require !== 'undefined';
|
||||||
const appVersion = '4.1.0-beta.2';
|
const appVersion = '4.1.0';
|
||||||
|
|
||||||
|
|
||||||
if (localStorage.getItem('theme')) {
|
if (localStorage.getItem('theme')) {
|
||||||
|
@ -159,7 +159,7 @@ var codec = new Codec('collada', {
|
|||||||
let primitive = [];
|
let primitive = [];
|
||||||
|
|
||||||
function addPosition(x, y, z) {
|
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);
|
addPosition(cube.to[0] + cube.inflate, cube.to[1] + cube.inflate, cube.to[2] + cube.inflate);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Blockbench",
|
"name": "Blockbench",
|
||||||
"description": "Low-poly modeling and animation software",
|
"description": "Low-poly modeling and animation software",
|
||||||
"version": "4.1.0-beta.2",
|
"version": "4.1.0",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "JannisX11",
|
"name": "JannisX11",
|
||||||
|
Loading…
Reference in New Issue
Block a user