Page MenuHome

Stored Views Fix: when Lock 'To 3D Cursor' is active
ClosedPublic

Authored by Vladislav (BoomRaccoon) on Oct 5 2020, 10:05 AM.

Details

Summary

Fix T81285
The cursor will be positioned at the stored location
without any error now.

I can't figure out how to center the view on the cursor.
Calling bpy.ops.view3d.view_center_cursor() will be intercepted by 'class BPyOpsSubModOp:' and at that point I give up.

Diff Detail

Event Timeline

Vladislav (BoomRaccoon) requested review of this revision.Oct 5 2020, 10:05 AM
Vladislav (BoomRaccoon) created this revision.
Vladislav (BoomRaccoon) edited the summary of this revision. (Show Details)Oct 5 2020, 2:47 PM
Vladislav (BoomRaccoon) edited the summary of this revision. (Show Details)Oct 16 2020, 5:20 PM
Vladislav (BoomRaccoon) edited the summary of this revision. (Show Details)Oct 16 2020, 8:33 PM

There is another place where this also needs to be changed, but will do that and commit then.
Thx again! And sorry this slipped under the radar for so long (I usually dont do review that much)

This revision is now accepted and ready to land.May 18 2022, 11:39 AM