Merge branch 'bx-906-front' of https://git.svs-tech.pro/ksenia_mikhailova/demo-int-table into bx-906-front

This commit is contained in:
Kseninia Mikhaylova 2024-06-28 16:34:54 +03:00
commit 4912e090a0
2 changed files with 3 additions and 3 deletions

View File

@ -29,10 +29,10 @@ class Scene3D(models.Model):
elements = models.ManyToManyField(Element3D) elements = models.ManyToManyField(Element3D)
min_distance = models.IntegerField( min_distance = models.IntegerField(
validators=[MinValueValidator(1), MaxValueValidator(400)], blank=True, null=True validators=[MinValueValidator(1), MaxValueValidator(600)], blank=True, null=True
) )
max_distance = models.IntegerField( max_distance = models.IntegerField(
validators=[MinValueValidator(2), MaxValueValidator(500)], blank=True, null=True validators=[MinValueValidator(2), MaxValueValidator(1000)], blank=True, null=True
) )
def __str__(self): def __str__(self):

View File

@ -69,7 +69,7 @@ watch(() => route.params.target, () => {
<LoadModels :source="source" :loaded="set_model_load_status" :loaded_pan="loadedPan" /> <LoadModels :source="source" :loaded="set_model_load_status" :loaded_pan="loadedPan" />
</Suspense> </Suspense>
<TresMesh cast-shadow> <TresMesh cast-shadow>
<TresBoxGeometry :args="[1, 1, 1]" />
<TresMeshStandardMaterial /> <TresMeshStandardMaterial />
</TresMesh> </TresMesh>
<TresMesh :position-y="0" :rotate-x="-Math.PI / 2" receive-shadow> <TresMesh :position-y="0" :rotate-x="-Math.PI / 2" receive-shadow>