Bulk of mesh. Excluded via #if MESH_ENABLED. LLModel still needs updated for strided vbos, Collada SDK needs to be wrangled, and misc pieces need to be found and brought over. Skipping inventory stuff until meshes are at least displayable.
This commit is contained in:
@@ -573,7 +573,9 @@ BOOL LLAgentCamera::calcCameraMinDistance(F32 &obj_min_distance)
|
||||
BOOL soft_limit = FALSE; // is the bounding box to be treated literally (volumes) or as an approximation (avatars)
|
||||
|
||||
if (!mFocusObject || mFocusObject->isDead() ||
|
||||
//mFocusObject->isMesh() ||
|
||||
#if MESH_ENABLED
|
||||
mFocusObject->isMesh() ||
|
||||
#endif //MESH_ENABLED
|
||||
gSavedSettings.getBOOL("DisableCameraConstraints"))
|
||||
{
|
||||
obj_min_distance = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user