Hi kirill, scripts like these are easy to make and edit. The logic here is to check the current panel's camera and toggle to the next one in the list. This script isn't very smart though, so it won't switch if the scene doesn't already have left and right cameras, and they aren't named the same. You can create a custom hotkey, and paste this in.
edit: is the double line thing still messing with script formatting? This looks nicer than using the code format block.
string $currentPanel = `getPanel -withFocus`;
if (`getPanel -to $currentPanel` == "modelPanel") {
Hi kirill, scripts like these are easy to make and edit. The logic here is to check the current panel's camera and toggle to the next one in the list. This script isn't very smart though, so it won't switch if the scene doesn't already have left and right cameras, and they aren't named the same. You can create a custom hotkey, and paste this in.
edit: is the double line thing still messing with script formatting? This looks nicer than using the code format block.
string $currentPanel = `getPanel -withFocus`;
if (`getPanel -to $currentPanel` == "modelPanel") {
Replies
edit: is the double line thing still messing with script formatting? This looks nicer than using the code format block.
Happy New Year to you!=)