Page MenuHome

Sculpt: Preview the active side of the line gestures
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Oct 4 2020, 9:52 PM.
Tags
None
Subscribers
None
Tokens
"Pterodactyl" token, awarded by shader."Love" token, awarded by zeauro."Love" token, awarded by manitwo."Like" token, awarded by erickblender."Love" token, awarded by gilberto_rodrigues."Party Time" token, awarded by lopoIsaac."100" token, awarded by Frozen_Death_Knight."Mountain of Wealth" token, awarded by Brandon777."Like" token, awarded by TheRedWaxPolice.

Details

Summary

This adds a small gradient to the right side of the line to preview
which side of the mesh is going to be affected by the gesture operation.

Diff Detail

Repository
rB Blender
Branch
wm-line-gesture-side-preview (branched from master)
Build Status
Buildable 10559
Build 10559: arc lint + arc unit

Event Timeline

Pablo Dobarro (pablodp606) requested review of this revision.Oct 4 2020, 9:52 PM
Julian Eisel (Severin) requested changes to this revision.Oct 5 2020, 1:02 PM

Overall fine, but found two smaller issues.

source/blender/windowmanager/intern/wm_gesture.c
211

This must be multiplied by U.pixelsize, otherwise the gradient has half the size on hiDPI screens (confirmed with a retina screen).

278–280

Isn't this drawn on top of the line now, darkening the white dashes?

This revision now requires changes to proceed.Oct 5 2020, 1:02 PM
Pablo Dobarro (pablodp606) marked 2 inline comments as done.
  • review update
This revision is now accepted and ready to land.Oct 5 2020, 5:24 PM