Fix box: zero size, and dragging a side past its opposite
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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).
- Lingua principale
- C#
- Stelle
- 135
- Fork
- 15
- Merge medio
- 24m
- PR unite (30g)
- 112
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RadicalCSG/com.chisel
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
RadicalCSG/com.chisel#221 ·
I maintainer di solito rispondono entro 1 giorno
-
Finish stairsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
RadicalCSG/com.chisel#224 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
RadicalCSG/com.chisel#223 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
RadicalCSG/com.chisel#222 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
RadicalCSG/com.chisel#220 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di RadicalCSG/com.chisel
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NethermindEth/nethermind#15684 ·
I maintainer di solito rispondono entro 1 giorno
-
area/ai-assistant squad/flyt
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
Altinn/altinn-studio#21798 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
arastella625/DAORework#181 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
BEagle1984/silverback#280 ·
-
bug P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
endercodezz/BYDLO#417 ·
I maintainer di solito rispondono entro 1 giorno