parent
87c9ec632d
commit
c36180ffd0
|
|
@ -57,9 +57,12 @@ const ModelUploadForm = () => {
|
||||||
action={ handleModelUpload }
|
action={ handleModelUpload }
|
||||||
/>
|
/>
|
||||||
<p>
|
<p>
|
||||||
{ 'info' in upload_blend_file_status
|
{
|
||||||
? upload_blend_file_status.info
|
typeof upload_blend_file_status === 'string'
|
||||||
: ''
|
? ''
|
||||||
|
: 'info' in upload_blend_file_status
|
||||||
|
? upload_blend_file_status.info
|
||||||
|
: ''
|
||||||
}
|
}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -112,11 +112,12 @@ const RenderSingleImageForm = () => {
|
||||||
return {
|
return {
|
||||||
fileName: refs[0].current.value.replace('.blend', ''),
|
fileName: refs[0].current.value.replace('.blend', ''),
|
||||||
// fileName: 'testHand',
|
// fileName: 'testHand',
|
||||||
rotate: refs[1].current.value / 62, // on backend 0.1 - 6.2 value
|
setID: refs[1].current.value,
|
||||||
cameraID: refs[2].current.value,
|
rotate: refs[2].current.value / 62, // on backend 0.1 - 6.2 value
|
||||||
|
cameraID: refs[3].current.value,
|
||||||
nameSeries: 0,
|
nameSeries: 0,
|
||||||
resolutionX: refs[3].current.value,
|
resolutionX: refs[4].current.value,
|
||||||
resolutionY: refs[4].current.value
|
resolutionY: refs[5].current.value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue