Page MenuHome

Fix Crash with Continue zoom in the Node Editor (T65714) (Trackpad) [1/5]
ClosedPublic

Authored by Yevgeny Makarov (jenkm) on Aug 23 2020, 12:39 PM.

Details

Summary

Trackpad: View2D Zoom improvements and fixes (1).

T65714: Blender Crashes when using Mac trackpad Pinching(zoom) in Node Editor

Trackpad never uses the "Continued" zoom method, only "Dolly",
the timer is not initialized, that gives a very large zoom step.

In combination with "Zoom to Mouse Position" which is also buggy,
it will lead to a crash, see comments T65714#992824.

Diff Detail

Repository
rB Blender

Event Timeline

Yevgeny Makarov (jenkm) requested review of this revision.Aug 23 2020, 12:39 PM
Yevgeny Makarov (jenkm) created this revision.
Yevgeny Makarov (jenkm) retitled this revision from Trackpad: View2D Zoom improvements and fixes (1) to Fix Crash with Continue zoom in the Node Editor (T65714) (Trackpad) [1/5].Oct 6 2020, 6:15 PM

We do similar NULL-checks elsewhere, so this seems to follow the operators logic correctly.

This revision is now accepted and ready to land.Oct 28 2020, 6:15 PM