Page MenuHome

Paint Orbit around selection/stroke: remove redundant case
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Dec 15 2022, 10:56 AM.

Details

Summary

Since rB8014180720d8, all paint modes support orbiting around last
stroke, so [a] the comment there is out of date and [b] the fallback
case of orbiting around the center wil never be used.

Spotted while looking into T101766.

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Dec 15 2022, 10:56 AM
Philipp Oeser (lichtwerk) created this revision.

LGTM, if the last stroke information isn't available it falls back to the object center which seems fine.

This revision is now accepted and ready to land.Dec 15 2022, 11:19 AM
source/blender/editors/space_view3d/view3d_navigate.c
178

This could just pass in lastofs.