Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GeoVistoogsi
AR
Commits
c999efcd
Commit
c999efcd
authored
3 months ago
by
Percen
Browse files
Options
Download
Email Patches
Plain Diff
Update public/index.html
parent
29ad6bab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+5
-5
public/index.html
with
5 additions
and
5 deletions
+5
-5
public/index.html
+
5
-
5
View file @
c999efcd
...
@@ -568,7 +568,8 @@
...
@@ -568,7 +568,8 @@
}
}
}
}
}
}
/**
*
function calculateBoundingBox(object) {
function calculateBoundingBox(object) {
const box = new THREE.Box3().setFromObject(object);
const box = new THREE.Box3().setFromObject(object);
const size = new THREE.Vector3();
const size = new THREE.Vector3();
...
@@ -614,9 +615,8 @@ function openScaleMenu() {
...
@@ -614,9 +615,8 @@ function openScaleMenu() {
`;
`;
}
}
}*/
/**
*
function
openScaleMenu
()
{
function
openScaleMenu
()
{
if
(
!
selectedPlacedModel
)
{
if
(
!
selectedPlacedModel
)
{
showInfoDialog
(
"
Kein Modell ausgewählt. Bitte wählen Sie ein Modell aus, bevor Sie es bearbeiten.
"
);
showInfoDialog
(
"
Kein Modell ausgewählt. Bitte wählen Sie ein Modell aus, bevor Sie es bearbeiten.
"
);
...
@@ -630,10 +630,10 @@ function openScaleMenu() {
...
@@ -630,10 +630,10 @@ function openScaleMenu() {
dynamicMenu
.
style
.
display
=
"
flex
"
;
dynamicMenu
.
style
.
display
=
"
flex
"
;
dynamicMenu
.
innerHTML
=
`
dynamicMenu
.
innerHTML
=
`
<h3>Skalierung anpassen</h3>
<h3>Skalierung anpassen</h3>
<label>Größe: <span id="scale-value">${currentScale.toFixed(2)}</span><input type="range" min="0.01" max="3" step="0.01" value="${currentScale}" onchange="updateScale(this.value)"></label>
<label>Größe: <span id="scale-value">
${
currentScale
.
toFixed
(
2
)}
</span><input type="range" min="0.01" max="3" step="0.
0
01" value="
${
currentScale
}
" onchange="updateScale(this.value)"></label>
<button onclick="closeDynamicMenu()">Zurück</button>
<button onclick="closeDynamicMenu()">Zurück</button>
`
;
`
;
}*/
function
updateScale
(
value
)
{
function
updateScale
(
value
)
{
if
(
selectedPlacedModel
)
{
if
(
selectedPlacedModel
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment