Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lgl
SmartVillages2
Commits
91a631b1
Commit
91a631b1
authored
5 months ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
add error message when failing to load gltf
parent
4a40a34b
master
dev
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/objectList.vue
+10
-2
src/objectList.vue
with
10 additions
and
2 deletions
+10
-2
src/objectList.vue
+
10
-
2
View file @
91a631b1
...
...
@@ -167,10 +167,18 @@ function uploadModel() {
function
(
error
)
{
app
.
notifier
.
add
({
type
:
NotificationType
.
ERROR
,
message
:
"
Ein Fehler ist beim Laden der glTF Datei aufgetreten. Bitte vergewissern Sie sich, dass es sich um eine gültige glTF Datei handelt.
"
,
message
:
"
Ein Fehler ist beim Laden der glTF Datei aufgetreten. Bitte vergewissern Sie sich, dass es sich um eine gültige glTF2.0 Datei handelt.
"
,
timeout
:
20000
,
});
},
options
);
});
},
undefined
,
function
(
error
)
{
app
.
notifier
.
add
({
type
:
NotificationType
.
ERROR
,
message
:
"
Ein Fehler ist beim Laden der glTF Datei aufgetreten. Bitte vergewissern Sie sich, dass es sich um eine gültige glTF2.0 Datei handelt.
"
+
"
Fehlermeldung:
"
+
error
.
message
,
timeout
:
20000
,
});
});
}
...
...
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
Menu
Explore
Projects
Groups
Snippets