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
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Ketsji/KX_Scene.h')
-rw-r--r--source/gameengine/Ketsji/KX_Scene.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_Scene.h b/source/gameengine/Ketsji/KX_Scene.h
index 2e1ee9f101d..19873daabb3 100644
--- a/source/gameengine/Ketsji/KX_Scene.h
+++ b/source/gameengine/Ketsji/KX_Scene.h
@@ -295,6 +295,11 @@ protected:
KX_ObstacleSimulation* m_obstacleSimulation;
+ /**
+ * Does this scene active the LoD Hysteresis?
+ */
+ bool m_isActivedHysteresis;
+
public:
KX_Scene(class SCA_IInputDevice* keyboarddevice,
class SCA_IInputDevice* mousedevice,
@@ -546,6 +551,10 @@ public:
// Update the mesh for objects based on level of detail settings
void UpdateObjectLods(void);
+
+ // Enable/disable LoD Hysteresis
+ void SetLodHysteresis(bool active);
+ bool IsActivedLodHysteresis();
// Update the activity box settings for objects in this scene, if needed.
void UpdateObjectActivity(void);