From 9839435d445d141fe99695d044b0760b406d3af1 Mon Sep 17 00:00:00 2001 From: nimadez <111365948+nimadez@users.noreply.github.com> Date: Sat, 16 Nov 2024 22:26:10 +0330 Subject: [PATCH] Update 4.5.8 --- package.json | 6 +++--- src/index.html | 14 ++++++------- src/libs/babylon.gui.min.js | 2 +- src/libs/babylon.inspector.bundle.js | 2 +- src/libs/babylon.js | 2 +- src/libs/babylonjs.loaders.min.js | 2 +- src/libs/three-mesh-bvh.js | 7 ++++--- src/main.js | 2 +- src/modules/core.js | 31 +++++++++++++++------------- src/modules/interfaces/panels.js | 9 ++++++-- src/modules/sandbox/sandbox.js | 4 ++-- 11 files changed, 45 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index 015035d9..9cba2ad1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "voxel-builder", - "version": "4.5.7", + "version": "4.5.8", "description": "Voxel-based 3D modeling application", "main": "electron.js", "scripts": { @@ -11,9 +11,9 @@ "license": "MIT", "devDependencies": { "electron": "^30.0.0", - "babylonjs": "^7.32.0", + "babylonjs": "^7.33.0", "three": "^0.170.0", - "three-mesh-bvh": "^0.8.2", + "three-mesh-bvh": "^0.8.3", "three-gpu-pathtracer": "^0.0.23", "@tweenjs/tween.js": "^25.0.0" } diff --git a/src/index.html b/src/index.html index 21ddcaad..e30e5fd0 100644 --- a/src/index.html +++ b/src/index.html @@ -83,7 +83,7 @@ ul { list-style-type: none; } ul li { font-family: var(--font); font-size: var(--font-size); color: var(--btn-color); border-radius: 2px; text-align: center; } ul li:hover, .tool_selector, .tool_mesh_selector { background: orange; color: #444; box-shadow: inset 10px 10px 10px var(--btn-shadow); } - #introscreen { z-index: 99999; display: unset; background: #1C2128; position: absolute; width: 100%; height: 100%; } + #introscreen { z-index: 99999; display: unset; position: absolute; width: 100%; height: 100%; } #introscreen .logo { width: fit-content; padding: 10px 15px 10px 15px; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 10px; text-align: center; } #introscreen .logo img { width: 192px; height: 192px; image-rendering: optimizeQuality; } #canvas { z-index: 0; pointer-events: none; background: #3c4253; position: absolute; width: 100%; height: 100%; } @@ -159,7 +159,7 @@ #menu-inscreen-export button { width: 68px; height: 32px; font-size: 11px; } #colorpicker { z-index: 500; width: 45px; height: 32px; } #colorpicker :first-child { height: 32px; } - #info { z-index: 2; display: none; color: var(--info-color); letter-spacing: 0.06em; text-shadow: var(--text-shadow); font-size: 10px; position: absolute; padding: 2px; width: 100%; bottom: 2px; text-align: center; pointer-events: none; } + #info { z-index: 2; display: none; color: var(--info-color); letter-spacing: 0.06em; text-shadow: var(--text-shadow); font-size: 10px; position: absolute; margin-bottom: 2px; width: 100%; bottom: 2px; text-align: center; pointer-events: none; } #info_tool { z-index: 2; display: none; opacity: 0.8; color: var(--info-color); letter-spacing: 0.06em; text-shadow: var(--text-shadow); font-size: 10px; position: absolute; padding: 2px; width: auto; top: 47px; left: 50%; transform: translateX(-50%); text-align: center; text-transform: uppercase; pointer-events: none; } #info_render { z-index: 301; display: none; color: var(--info-color); letter-spacing: 0.06em; text-shadow: var(--text-shadow); font-size: 10px; position: absolute; padding: 2px; width: 100%; bottom: 2px; text-align: center; pointer-events: none; } #progressbar { z-index: 2000; background: linear-gradient(90deg, orange, orange, orange, white); width: 0; max-width: 100%; height: 3px; bottom: 0; position: fixed; } @@ -182,7 +182,7 @@ .row_input { display: flex; width: 100%; gap: 5px; align-items: center; } .row_input :first-child { width: 100%; } .row_panel { display: flex; width: 100%; height: 25px; align-items: center; gap: 0; } - .row_panel div { width: 31px; padding: 5px; text-align: center; } + .row_panel div { width: 100%; padding: 5px; text-align: center; } .row_panel:hover { box-shadow: none; } .material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; font-size: 16px; vertical-align: middle; text-align: center; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; pointer-events: none; font-feature-settings: 'liga'; -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; } ::placeholder { color: #45515c; } @@ -275,7 +275,7 @@
  • VOXEL BUILDER -
    ↳ 4.5.7 Beta +
    ↳ 4.5.8 Beta
    GitHub
    Changelog
    Developer @@ -415,7 +415,7 @@
  • MATERIAL
  • -
  • +
  • @@ -534,7 +534,7 @@
  • PICK COLOR
  • -
  • +