Simple lock- / unlock camera
I really miss two simple buttons, one that lock the current view and one that unlocks the view.
I have found this to do the job:
setTransformLockFlags $ #all
setTransformLockFlags $ #none
but I have to selecet the camera and target manuel to lock the view, before running the script.
I guess that the script should select the active camera and it's target and lock them.
I know how to add a script to a toolbar, but not how to write it properly :-/
Can anyone help?