Docker -> fix all bugs

feature/2_forms v0.0.1
TBS093A 2021-05-17 22:20:08 +02:00
parent 87c9ec632d
commit c36180ffd0
2 changed files with 11 additions and 7 deletions

View File

@ -57,7 +57,10 @@ const ModelUploadForm = () => {
action={ handleModelUpload }
/>
<p>
{ 'info' in upload_blend_file_status
{
typeof upload_blend_file_status === 'string'
? ''
: 'info' in upload_blend_file_status
? upload_blend_file_status.info
: ''
}

View File

@ -112,11 +112,12 @@ const RenderSingleImageForm = () => {
return {
fileName: refs[0].current.value.replace('.blend', ''),
// fileName: 'testHand',
rotate: refs[1].current.value / 62, // on backend 0.1 - 6.2 value
cameraID: refs[2].current.value,
setID: refs[1].current.value,
rotate: refs[2].current.value / 62, // on backend 0.1 - 6.2 value
cameraID: refs[3].current.value,
nameSeries: 0,
resolutionX: refs[3].current.value,
resolutionY: refs[4].current.value
resolutionX: refs[4].current.value,
resolutionY: refs[5].current.value
}
}