Fix box: zero size, and dragging a side past its opposite
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 50/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- C#
- スター
- 135
- フォーク
- 15
- 平均マージ
- 24分
- マージ済み PR(30日)
- 112
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RadicalCSG/com.chisel のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
RadicalCSG/com.chisel#221 ·
メンテナーはふだん 1 日以内に返信
-
Finish stairsオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
RadicalCSG/com.chisel#224 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
RadicalCSG/com.chisel#223 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
RadicalCSG/com.chisel#222 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
RadicalCSG/com.chisel#220 ·
メンテナーはふだん 1 日以内に返信
RadicalCSG/com.chisel の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NethermindEth/nethermind#15684 ·
メンテナーはふだん 1 日以内に返信
-
area/ai-assistant squad/flyt
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Altinn/altinn-studio#21798 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
arastella625/DAORework#181 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
BEagle1984/silverback#280 ·
-
bug P1
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
endercodezz/BYDLO#417 ·
メンテナーはふだん 1 日以内に返信