mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Fix syncing issue with edit sessions
This commit is contained in:
parent
c7d84311e9
commit
c54641538c
@ -24,7 +24,7 @@
|
||||
<script>
|
||||
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
|
||||
const isApp = typeof require !== 'undefined';
|
||||
const appVersion = '3.6.1';
|
||||
const appVersion = '3.6.2';
|
||||
</script>
|
||||
<div id="loading_error_message" style="display: none;">
|
||||
<div>An error occurred while loading Blockbench</div>
|
||||
|
@ -277,7 +277,7 @@ class Cube extends NonGroup {
|
||||
}
|
||||
delete this;
|
||||
}
|
||||
getUndoCopy(aspects) {
|
||||
getUndoCopy(aspects = 0) {
|
||||
var copy = new Cube(this)
|
||||
if (aspects.uv_only) {
|
||||
copy = {
|
||||
@ -286,6 +286,9 @@ class Cube extends NonGroup {
|
||||
mirror_uv: copy.mirror_uv,
|
||||
}
|
||||
}
|
||||
for (let face_id in copy.faces) {
|
||||
copy.faces[face_id] = copy.faces[face_id].getSaveCopy()
|
||||
}
|
||||
copy.uuid = this.uuid
|
||||
copy.type = this.type;
|
||||
delete copy.parent;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Blockbench",
|
||||
"description": "Model editing and animation software",
|
||||
"version": "3.6.1",
|
||||
"version": "3.6.2",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"author": {
|
||||
"name": "JannisX11",
|
||||
@ -90,7 +90,8 @@
|
||||
"scripts": {
|
||||
"dev": "electron .",
|
||||
"dist": "electron-builder",
|
||||
"beta": "electron-builder --windows portable"
|
||||
"beta": "electron-builder --windows portable",
|
||||
"webapp": "git checkout gh-pages && git merge master && git push && git checkout master"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "8.2.4",
|
||||
|
Loading…
Reference in New Issue
Block a user