Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-12-22 04:03:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-22 04:03:20 +0400
commit51016c4dea9904cbaea8b06d692d6f2dd747a6e8 (patch)
tree02554c55c8f3de7314b967245ea15fb000a75e7c /intern
parent5272d76faa969bc379ca1d1c28601c67fce98b24 (diff)
split >120 length lines (mostly if statements)
Diffstat (limited to 'intern')
-rw-r--r--intern/audaspace/intern/AUD_SoftwareDevice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/audaspace/intern/AUD_SoftwareDevice.cpp b/intern/audaspace/intern/AUD_SoftwareDevice.cpp
index b1e5d8ccd75..1d993abab73 100644
--- a/intern/audaspace/intern/AUD_SoftwareDevice.cpp
+++ b/intern/audaspace/intern/AUD_SoftwareDevice.cpp
@@ -121,7 +121,9 @@ void AUD_SoftwareDevice::AUD_SoftwareHandle::update()
if(flags & AUD_RENDER_DISTANCE)
{
- if(m_device->m_distance_model == AUD_DISTANCE_MODEL_INVERSE_CLAMPED || m_device->m_distance_model == AUD_DISTANCE_MODEL_LINEAR_CLAMPED || m_device->m_distance_model == AUD_DISTANCE_MODEL_EXPONENT_CLAMPED)
+ if(m_device->m_distance_model == AUD_DISTANCE_MODEL_INVERSE_CLAMPED ||
+ m_device->m_distance_model == AUD_DISTANCE_MODEL_LINEAR_CLAMPED ||
+ m_device->m_distance_model == AUD_DISTANCE_MODEL_EXPONENT_CLAMPED)
{
distance = AUD_MAX(AUD_MIN(m_distance_max, distance), m_distance_reference);
}