Skip to content

Commit

Permalink
Hide cameras in projection alleys
Browse files Browse the repository at this point in the history
  • Loading branch information
julik committed Sep 27, 2012
1 parent 26a04b5 commit 2f9b9e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import nuke, nukescripts, os, sys, re, inspect
__version__ = (1, 1, 2)
__version__ = (1, 1, 3)

MY_MODULE_DIR = os.path.dirname(os.path.abspath(__file__))
# Use self-detecting path for icons.
Expand Down Expand Up @@ -157,6 +157,10 @@ def create_projection_alley(sel_cam, frame_numbers, apply_crop, link_cameras):
for frame_number in frame_numbers:
cam = create_camera_at(sel_cam, frame_number, link_cameras)

# Make the camera invisible since too many cameras just clobber the viewport
# TODO: make optional
cam["display"].setValue("off")

# Make it look Good(tm)
last_x = last_x + OPTIMUM_DAG_OFFSET
cam["xpos"].setValue(last_x)
Expand Down

0 comments on commit 2f9b9e8

Please sign in to comment.