Builder 3-D view: residue labels are white on a white background (same fault as #1293, different place)

オープン
#1,357 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, cpp
領域
desktop

調査の方向性

Start in the Builder's 3-D view label-rendering code and inspect the prior poses fix in #1293 for how labels follow the Foreground colour. Search the viewer and Builder for SbColor(1, *1.0f, 1.0f, 1.0f*, wxWHITE, and setLabelColor, then verify the affected views with residue labels enabled. Done means Builder labels are visible on the white background and other hard-coded white label colours have been addressed.

索引モデルが issue の本文から書いたものです。

説明

Residue labels in the Builder's 3-D view are drawn in white. On the white
background that ECCE uses for structure views they are invisible; in a
screenshot of 1IEP with labels on, HOH, TRP and the rest read as faint
white-on-white smudges.

This is the same fault as #1293, where the docking poses' residue labels were
white on white and were fixed by following the Foreground colour. That fix
was made in the poses code; the Builder's own labels still have it, so the
colour is being chosen in more than one place.

Two parts:

  1. Make the labels follow the Foreground colour, as #1293 did for poses.
  2. Find the other places. Twice is a pattern: grep for fixed white or
    hard-coded label colours in the viewer and the Builder
    (SbColor(1, *1.0f, 1.0f, 1.0f*, wxWHITE, setLabelColor) and fix
    them together, so the next view added does not inherit it a third time.

Found by hand testing the pocket picker build (main at 822af2842).

主要言語
C
スター
10
フォーク
8
平均マージ
6時間 32分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FriendsofECCE/ECCE のほかの issue

FriendsofECCE/ECCE の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。