「テンプレート:Release Notes/2.49b/Game Engine/Python API」の版間の差分

提供: wiki
移動先: 案内検索
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 03:43時点における最新版

Python API Bugfixes 2.49b

  • Converting a mesh from a python argument was broken but happened to work in some cases.
  • Memory leak fix for action.channelNames.
  • Was writing to freed memory when freeing a python object in some cases.
  • Removing GameLogic.EvalExpression(), was unstable.
  • Crash fix when casting a ray to the same location as the object.
  • Fixed KX_PolyProxy returning improper VertexIndex with mixed triangles and quads with using .getVertexIndex() and .v1, .v2, etc. [bug #19254]
  • Fixed obj.sendMessage() with 4 arguments crashing blender [bug #18963]


Python API Bugfixes 2.49a

  • Camera functions getScreenPosition, Ray and Vect fixes
  • Bug in KX_GameObject.get() and ListValue.get() returning python types float/int/string.
  • Pythons sys.path creation was broken in windows (caused YoFrankie game to not start)
  • Action Actuator setChannel() function was broken in a number of ways.
  • Deprecation warnings were printed twice.

Python API Improvements 2.49a

  • GE Python support for __contains__ "prop" in gameOb and "OBCube" in scene.objects syntax.
  • GE Python support for dictionary style get() cont.actuators.get("key", default), works for sensors and object controllers too.
  • Action actuator getChannel("name") function to get the bone loc,size,quat for a bone.