mrdoob/three.js — pull request #707 by huttarl (2011-10-30 16:11:16+00:00)
Title: added noRotate parameter to TrackballCamera

OK, I think I got the git workflow working! mostly.

I don't know why it's putting 4 commits into this pull request... only the last one matters (https://github.com/huttarl/three.js/commit/8f3f5bbe1f114c7d717a1decc31d420afa0d7c78)

Here's the blurb from my patch submittal:

TrackballCamera has a noZoom param/property, and also noPan. It would be useful to have a corresponding noRotate property, so that we could temporarily disable the rotation of the trackball. (In my case, I need to do this when the user is clicking the mouse for some other purpose, e.g. to select an object.) So I've implemented it, and tested it. When the user doesn't access the noRotate property (existing code), behavior is unaffected.