
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
Date | Number of Commits | |
---|---|---|
March, 2015 | 1 |
Favourite Files
Filename | Total Edits |
---|---|
bge.types.KX_GameObject.rst | 1 |
KX_GameObject.cpp | 1 |
KX_GameObject.h | 1 |
File Changes
Action | Total | Per Commit |
---|---|---|
Modified | 3 | 3.0 |
Code Changes
Action | Total | Per Commit |
---|---|---|
Lines Added | 10 | 10.0 |
Lines Removed | 1 | 1.0 |
Latest commits 
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