Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
Conflicts: indra/newview/lldrawpoolwlsky.cpp
This commit is contained in:
@@ -580,10 +580,10 @@ BOOL LLAgentCamera::calcCameraMinDistance(F32 &obj_min_distance)
|
||||
if (mFocusObject->mDrawable.isNull())
|
||||
{
|
||||
#ifdef LL_RELEASE_FOR_DOWNLOAD
|
||||
llwarns << "Focus object with no drawable!" << llendl;
|
||||
LL_WARNS() << "Focus object with no drawable!" << LL_ENDL;
|
||||
#else
|
||||
mFocusObject->dump();
|
||||
llerrs << "Focus object with no drawable!" << llendl;
|
||||
LL_ERRS() << "Focus object with no drawable!" << LL_ENDL;
|
||||
#endif
|
||||
obj_min_distance = 0.f;
|
||||
return TRUE;
|
||||
@@ -1446,7 +1446,7 @@ void LLAgentCamera::updateCamera()
|
||||
|
||||
mCameraCurrentFOVZoomFactor = lerp(mCameraCurrentFOVZoomFactor, mCameraFOVZoomFactor, LLCriticalDamp::getInterpolant(FOV_ZOOM_HALF_LIFE));
|
||||
|
||||
// llinfos << "Current FOV Zoom: " << mCameraCurrentFOVZoomFactor << " Target FOV Zoom: " << mCameraFOVZoomFactor << " Object penetration: " << mFocusObjectDist << llendl;
|
||||
// LL_INFOS() << "Current FOV Zoom: " << mCameraCurrentFOVZoomFactor << " Target FOV Zoom: " << mCameraFOVZoomFactor << " Object penetration: " << mFocusObjectDist << LL_ENDL;
|
||||
|
||||
F32 ui_offset = 0.f;
|
||||
if( CAMERA_MODE_CUSTOMIZE_AVATAR == mCameraMode )
|
||||
@@ -1806,7 +1806,7 @@ LLVector3d LLAgentCamera::calcCameraPositionTargetGlobal(BOOL *hit_limit)
|
||||
{
|
||||
if (!isAgentAvatarValid() || gAgentAvatarp->mDrawable.isNull())
|
||||
{
|
||||
llwarns << "Null avatar drawable!" << llendl;
|
||||
LL_WARNS() << "Null avatar drawable!" << LL_ENDL;
|
||||
return LLVector3d::zero;
|
||||
}
|
||||
head_offset.clearVec();
|
||||
|
||||
Reference in New Issue
Block a user