Blender Git Statistics -> Developers -> pgi

Pierluigi Grassi (pgi)

Total Commits : 1
Master Commits : 1
Branch Commits : 0
First Commit : March 15, 2015
Latest Commit : March 15, 2015

Commits by Month

DateNumber of Commits
March, 20151

Favourite Files

FilenameTotal Edits
bge.types.KX_GameObject.rst1
KX_GameObject.cpp1
KX_GameObject.h1

File Changes

ActionTotalPer Commit
Modified33.0

Code Changes

ActionTotalPer Commit
Lines Added1010.0
Lines Removed11.0

Latest commits Feed

Revision 225027c by Pierluigi Grassi / Jorge Bernal (master)
March 15, 2015, 16:26 (GMT)
BGE - new read-only attribute in KX_GameObject python api (LOD level)

Added a new "current_lod_level" property to the python api of
KX_GameObject. The property returns the current lod level of the game
object. The purpose of the property is activate logic routines only when
an object is at a certain lod-distance from the camera, avoiding to
separately recomputing the same distance in the logic script. Usage in
python script might look like:

owner = bge.logic.getCurrentController().owner
lod_level = owner.currentLodLevel
if lod_level == 0: ...do something
else: ... object might be too distant

Reviewers: dfelinto, kupoman, moguri

Reviewed By: kupoman, moguri

Subscribers: lordloki

Projects: #game_engine

Differential Revision: https://developer.blender.org/D978

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021