No change, just comments for stuff to avoid merging in, for now.
This commit is contained in:
@@ -407,10 +407,13 @@ LLVector3 LLAgentCamera::calcFocusOffset(LLViewerObject *object, LLVector3 origi
|
||||
{
|
||||
return original_focus_point - obj_pos;
|
||||
}
|
||||
|
||||
|
||||
LLQuaternion inv_obj_rot = ~obj_rot; // get inverse of rotation
|
||||
LLVector3 object_extents = object->getScale();
|
||||
LLVector3 object_extents = object->getScale();
|
||||
//this stuff just seems to make camera snapping worse...
|
||||
//const LLVector3* oe3 = object->mDrawable->getSpatialExtents();
|
||||
//object_extents.set( oe3[1][0], oe3[1][1], oe3[1][2] );
|
||||
|
||||
// make sure they object extents are non-zero
|
||||
object_extents.clamp(0.001f, F32_MAX);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user