Fix T41204 Python KX_lightObject.distance bug by Jon Szabo (thatonejonguy)

Reviewers: dfelinto

Subscribers: thatonejonguy

Projects: #game_engine

Differential Revision: https://developer.blender.org/D689
This commit is contained in:
Dalai Felinto 2014-07-29 00:12:17 -03:00
parent 939503ac83
commit a21a9ddbce

@ -231,7 +231,7 @@ int KX_LightObject::pyattr_set_distance(void *self_v, const KX_PYATTRIBUTE_DEF *
else if (val > 5000.f)
val = 5000.f;
self->m_lightobj->m_energy = val;
self->m_lightobj->m_distance = val;
return PY_SET_ATTR_SUCCESS;
}