Fix box: zero size, and dragging a side past its opposite
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 50/100
Línea de trabajo
The payload names no files, so start by finding the box generator in the Chisel codebase and the check that raises the brushMeshID error. Reproduce it in the Unity editor by sizing a box up and back down to zero height. Done means three things: a zero-size box cancels creation, dragging a side past its opposite gives a negative size with the sides swapped under the hood, and the brush stays valid.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problems when drawing a box:
-
Error at zero size while sizing. While building the outline (before the shape is committed), sizing the box upwards and then back downwards until its height is zero gives an error:
Brush with ID (Chisel.Core.CompactNodeID) has its brushMeshID set to (0), which is invalid. The brushMeshID is invalid: a Generator created/didn't update a TreeBrush correctly. -
A zero-sized box can be made. Finishing with a zero size should cancel the creation instead of making the box.
-
Dragging a side past its opposite moves the whole box. When a side is moved beyond the opposite side, the opposite side starts following the current position, so the entire box moves. Instead, the opposite side stays where it is and the box gets a negative size; the generator swaps its sides under the hood so the brush is valid.
Rule for all generators: negative sizes are allowed, and every generator builds a valid shape from them (swapping sides under the hood, so the brush is the right way out). A zero size is never allowed: creating at zero size cancels, and an existing generator can't be made zero sized.
Related: capsule (#185), cylinder (#186), inspector values (#187), hemisphere (#188), sphere (#189), extruded shape (#190), linear stairs (#191), spiral stairs (#192).
- Lenguaje dominante
- C#
- Estrellas
- 135
- Forks
- 15
- Merge medio
- 24 min
- PR fusionados (30 d)
- 112
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de RadicalCSG/com.chisel
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
RadicalCSG/com.chisel#221 ·
Los mantenedores suelen responder en 1 día
-
Finish stairsAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
RadicalCSG/com.chisel#224 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
RadicalCSG/com.chisel#223 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
RadicalCSG/com.chisel#222 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
RadicalCSG/com.chisel#220 ·
Los mantenedores suelen responder en 1 día
Todos los issues de RadicalCSG/com.chisel
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
NethermindEth/nethermind#15684 ·
Los mantenedores suelen responder en 1 día
-
area/ai-assistant squad/flyt
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Altinn/altinn-studio#21798 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
arastella625/DAORework#181 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
BEagle1984/silverback#280 ·
-
bug P1
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
endercodezz/BYDLO#417 ·
Los mantenedores suelen responder en 1 día