diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-29 21:49:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-29 21:49:14 +0400 |
commit | f608b3c44402ef5c58217481d93e7fa83c9cd7cf (patch) | |
tree | cc8211154eb5a3cf9e1d89484cbe48facd51b90e /source/gameengine/Ketsji/KX_RadarSensor.h | |
parent | c41e1e434ab9defa35178ad8886d81b60d889e9a (diff) |
code cleanup:
- building without python works again
- rename maxi/mini to i_max/i_min (so thay are available for function names)
- some minor edits to IK stretch setting (no functional changes).
Diffstat (limited to 'source/gameengine/Ketsji/KX_RadarSensor.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_RadarSensor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_RadarSensor.h b/source/gameengine/Ketsji/KX_RadarSensor.h index f1ed5b3c982..2de58f8b3a0 100644 --- a/source/gameengine/Ketsji/KX_RadarSensor.h +++ b/source/gameengine/Ketsji/KX_RadarSensor.h @@ -90,10 +90,11 @@ public: KX_RADAR_AXIS_NEG_Z }; - /* python */ virtual sensortype GetSensorType() { return ST_RADAR; } - + /* python */ +#ifdef WITH_PYTHON static PyObject* pyattr_get_angle(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); +#endif }; #endif //__KX_RADARSENSOR_H__ |