Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tool settings #367

Merged
merged 5 commits into from
May 6, 2024
Merged

Improve tool settings #367

merged 5 commits into from
May 6, 2024

Conversation

TokisanGames
Copy link
Owner

@TokisanGames TokisanGames commented May 6, 2024

Fixes #89
Fixes #300
Fixes #329

Changes to the tool settings bar:

  • Sub menus popup on hover (see Brush, Advanced)
  • Color picker hides on mouse_exit
  • add_settings now passes a dictionary w/ variable parameters
    • new parameter: label, which overwrites the name
    • new flag: NO_LABEL which hides the label
    • new flag: ADD_SEPARATOR which adds a vertical separator before the setting
  • Labels are separated from controls and are clickable buttons that reset settings to defaults, or toggle checkboxes

Renamed files:

  • editor/editor.gd -> /editor.gd
  • editor/components -> /src
  • editor/brushes -> /brushes
  • point_picker -> multi_picker

Misc fixes:

  • Fixes picking color/height/roughness outside of regions resulting in Color(nan) and invalid values
  • Automatic regions ignored for non-sculpting brushes
  • Changing collisions layers changes in realtime instead of on generation

TokisanGames added a commit that referenced this pull request May 6, 2024
@TokisanGames TokisanGames force-pushed the improve_tool_settings branch from a4af5d0 to 1f8f638 Compare May 6, 2024 11:51
@TokisanGames TokisanGames merged commit 2444da2 into main May 6, 2024
13 checks passed
@TokisanGames TokisanGames deleted the improve_tool_settings branch May 6, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant