Page MenuHome

fix for pad0
Closed, ArchivedPublicPATCH


Right now the pad0 has two problems:

1) it doesn't work with camera panning

2) it doesn't work if I go out of the camera view without press 0 (e.g. press Numpads: 0 1 3 0 0 0 0 ....)

To solve both problems I suggest to remove the last_view boolean.
Instead of that we can simply check for:

(G.vd->persp != V3D_CAMOB)

Event Timeline

Added camera storing when changing camera using the menu.

resending the patch with a new name.

I tested and is working fine.
patched against current SVN (17093).

Well I re-patched against current SVN renaming the short that was not been used anymore to pad6 (in DNA_struct).

The patch is working very well and is ready for integration (IMO)

Navigation views are stored in the Screen (not in the scene). If you change the camera in another scene and came back to your original scene and try do use this pad0 stored camera don't expect it to work properly.
Definitively not a big deal.

Committed in revision 16891.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Unknown Status.Oct 31 2008, 5:21 AM