The problem is the function ED_view3d_calc_zfac was returning that GP object is behind the camera and this avoided the sculpt action.
After checking, it looks the check is not necessary and this solves the issue.
Differential D13945
Fix GPencil Randomize brush when camera is too close Authored by Antonio Vazquez (antoniov) on Jan 28 2022, 6:30 PM. Tags Subscribers None
Details The problem is the function ED_view3d_calc_zfac was returning that GP object is behind the camera and this avoided the sculpt action. After checking, it looks the check is not necessary and this solves the issue.
Diff Detail
Event TimelineComment Actions The flipping was introduced with rBa12d42712bae: Fix T47772: Randomize stroke has direction bias. Are we sure T47772 is still OK if we remove it? Comment Actions Sorry @Antonio Vazquez (antoniov), I think it might work better if gpencil review is somehow organized differently [without me :)] since this regularly slips under my radar. |