[3d] add lineart mode (#2800)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Terry Jia
2025-03-02 10:48:23 -05:00
committed by GitHub
parent 699ebe2f93
commit b1713b4c80
19 changed files with 1234 additions and 22 deletions

View File

@@ -7,7 +7,7 @@
<div class="flex flex-col items-center">
<div class="spinner"></div>
<div class="text-white mt-4 text-lg">
{{ t('load3d.loadingModel') }}
{{ loadingMessage }}
</div>
</div>
</div>
@@ -20,9 +20,11 @@ import { ref } from 'vue'
import { t } from '@/i18n'
const modelLoading = ref(false)
const loadingMessage = ref('')
const startLoading = () => {
const startLoading = (message?: string) => {
modelLoading.value = true
loadingMessage.value = message || t('load3d.loadingModel')
}
const endLoading = () => {