UI: Change walk gravity settings UI to reflect the actual behavior #114670

Open
Sun Kim wants to merge 2 commits from persun/blender:pref_ui_gravity into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Contributor

Change the gravity options in the navigation preferences so that they reflect the actual behavior.

The Gravity option there only decides if walk navigation starts with gravity enabled or not, and gravity can be toggled anytime during the navigation (G or Tab key). So the height options are, unlike the impression the current UI gives, always used whether the Gravity option is enabled or not.

Also change the Gravity option's name to Start with Gravity Enabled.

gravity_pref_changes.png

Change the gravity options in the navigation preferences so that they reflect the actual behavior. The Gravity option there only decides if walk navigation starts with gravity enabled or not, and gravity can be toggled anytime during the navigation (`G` or `Tab` key). So the height options are, unlike the impression the current UI gives, always used whether the Gravity option is enabled or not. Also change the Gravity option's name to `Start with Gravity Enabled`. ![gravity_pref_changes.png](/attachments/8b335c79-6cf9-4e85-94ca-92e783eed498)
Sun Kim added 1 commit 2023-11-09 14:44:43 +01:00
Pratik Borhade approved these changes 2023-11-10 10:05:00 +01:00
Pratik Borhade left a comment
Member

Hi, thanks for the PR. This make sense to me. But do we really need use_gravity toggle in user preferences?
cc @pablovazquez

Hi, thanks for the PR. This make sense to me. But do we really need `use_gravity` toggle in user preferences? cc @pablovazquez
Author
Contributor

@PratikPB2123 Hi, thanks for the review!

Personally I don't really care for the option as I always manually activate gravity when it's needed. I think it's a little finicky since you have to make sure that you're at a safe position that won't make you fall infinitely, or immediately disable gravity before the fall, which makes the option meaningless.

One more thing: I think I need to change the tooltips (make it clear that the gravity option only affects start status, state that height options are used when gravity is enabled) as well. If I understand correctly they should be changed in rna_userdef.cc. I wonder, since they are simple string changes, if it's okay to submit the changes without compiling Blender and verify them myself.

@PratikPB2123 Hi, thanks for the review! Personally I don't really care for the option as I always manually activate gravity when it's needed. I think it's a little finicky since you have to make sure that you're at a safe position that won't make you fall infinitely, or immediately disable gravity before the fall, which makes the option meaningless. One more thing: I think I need to change the tooltips (make it clear that the gravity option only affects start status, state that height options are used when gravity is enabled) as well. If I understand correctly they should be changed in `rna_userdef.cc`. I wonder, since they are simple string changes, if it's okay to submit the changes without compiling Blender and verify them myself.
Pratik Borhade requested review from Pablo Vazquez 2023-11-10 11:56:56 +01:00
Sun Kim added 1 commit 2023-11-20 12:42:01 +01:00
Author
Contributor

I went ahead and modified the tooltips.

@pablovazquez Hi, can you take a look at this?

I went ahead and modified the tooltips. @pablovazquez Hi, can you take a look at this?
Merge conflict checking is in progress. Try again in few moments.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u pref_ui_gravity:persun-pref_ui_gravity
git checkout persun-pref_ui_gravity
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#114670
No description provided.