Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-22 | BGE: Committing async LibLoad from Swiss. This does the lib loading in a ↵ | Mitchell Stokes | |
separate thread to keep the BGE from freezing. Here is an example from the docs: # Print a message when an async LibLoad is done import bge def finished_cb(status): print("Library (%s) loaded in %.2fms." % (status.libraryName, status.timeTaken)) bge.logic.LibLoad('myblend.blend', 'Scene', async=True).onFinish = finished_cb LibLoad() now returns a KX_LibLoadStatus object for information on the library loading. LibNew() and LibFree() are unaffected by this commit. In other words, the async option only works for LibLoad(). Furthermore it only works for Scenes, not Actions or Meshes. | |||
2012-12-21 | BGE: Adding a Python interface for handling joysticks without needing logic ↵ | Mitchell Stokes | |
bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like: if bge.logic.joysticks[0]: activate_player_one() if bge.logic.joysticks[1]: activate_player_two() etc.. The interface exposed by SCA_PythonJoystick is very similar to the joystick logic brick except for one key difference: axis values are normalized to a -1.0 to 1.0 range instead of -32767 to 32767, which is what the logic brick exposed. | |||
2012-12-11 | update api changelog | Campbell Barton | |
2012-12-07 | Add 2 documents to the python api reference. | Campbell Barton | |
- Blender/Python Addon Tutorial: a step by step guide on how to write an addon from scratch - Blender/Python API Reference Usage: examples of how to use the API reference docs Thanks to John Nyquist for editing these docs and giving feedback. | |||
2012-12-05 | pydna experimental ctypes DNA api was broken with more recent python ↵ | Campbell Barton | |
versions, and some minor doc edits. | |||
2012-12-05 | add a message when solidify is used with only-edges, this isn't properly ↵ | Campbell Barton | |
supported. also minor edits to py-api-ref -- This line, and those below, will be ignored-- M doc/python_api/sphinx_doc_gen.py M doc/python_api/rst/include__bmesh.rst M source/blender/modifiers/intern/MOD_solidify.c | |||
2012-12-04 | osl style cleanup and update man-page. | Campbell Barton | |
2012-12-03 | fix [#33389] Curve points restricted to 0..1 range, | Campbell Barton | |
also added note on python3.3's faulthandler module. | |||
2012-12-03 | fix own mistake with recent commit to skip calculating tessface. If you were ↵ | Campbell Barton | |
already in editmode the tessfaces wouldn't get recalculated. also minor edits to bmesh rst. | |||
2012-12-02 | change uiButGetStrInfo() to use a trailing NULL arg rather then passing the ↵ | Campbell Barton | |
number of args as an arg. | |||
2012-12-01 | add bmesh.free() to example & template | Campbell Barton | |
2012-11-29 | Fix related to #33340: add a warning to bge from_id documentation to not ↵ | Brecht Van Lommel | |
store id() in game object integer properties since it may not fit in 32 bits integers. | |||
2012-11-28 | include an example in the api docs for using bmesh operators to make 2 links ↵ | Campbell Barton | |
in a chain. | |||
2012-11-28 | bmesh operator api reference - add in 'bmesh' arg at the start of each ↵ | Campbell Barton | |
operator, also use :class: references. | |||
2012-11-27 | generate api reference for 'bmesh.ops', restructured text is extracted from ↵ | Campbell Barton | |
bmesh_opdefines.c. see: http://www.blender.org/documentation/blender_python_api_2_64_9/bmesh.ops.html | |||
2012-11-26 | switch verious references from py3.2 -> 3.3 or just 3. | Campbell Barton | |
2012-11-23 | BGE Docs: Adding some docs for some of the Steering Actuator attributes. I ↵ | Mitchell Stokes | |
grabbed the docs from the UI descriptions from RNA for the Steering Actuator. However, these aren't the best descriptions, and both the UI descriptions and the docs could use some attention. Also, steeringVec and facingMode didn't have corresponding UI elements, so I've left them undocumented for now. Someone who knows what they do can hopefully document them. | |||
2012-11-23 | BGE Docs: Adding docs for bge.logic.NextFrame() and bge.logic.PrintMemInfo() ↵ | Mitchell Stokes | |
based on their doc strings. There was also an :rtype: in the bge.logic.setExitKey() docs that should have been :type:. | |||
2012-11-23 | BGE Docs: Adding docs for KX_Scene.drawObstacleSimulation() based on its doc ↵ | Mitchell Stokes | |
string. | |||
2012-11-23 | BGE Docs: Documenting missing Sound Actuator attributes based on RNA UI strings. | Mitchell Stokes | |
2012-11-23 | BGE Docs: Adding docs for the KX_GameObject.playAction() play_mode constants. | Mitchell Stokes | |
2012-11-23 | BGE Docs: Reordering the "Various" constants so they are in alphabetical order. | Mitchell Stokes | |
2012-11-22 | BGE Docs: Moving the KX_ArmatureSensor.type constant docs from bge.types.rst ↵ | Mitchell Stokes | |
to bge.logic.rst where the rest of the constants docs are. | |||
2012-11-22 | BGE Docs: Changing ROT_* Armature Channel constants in the docs to be ↵ | Mitchell Stokes | |
ROT_MODE_* to match the actual constants from bge.logic. | |||
2012-11-22 | BGE Docs: Fixing indentation. | Mitchell Stokes | |
2012-11-22 | indentation edits | Campbell Barton | |
2012-11-22 | BGE Docs: Adding some basic docs for the KX_STEERING_* constants. Right now ↵ | Mitchell Stokes | |
just their names and values are in the docs, not what they actually do. | |||
2012-11-22 | BGE Docs: Moving the BL_ArmatureChannel.rotation_mode constant docs from ↵ | Mitchell Stokes | |
bge.types.rst to bge.logic.rst where the rest of the constants docs are. | |||
2012-11-22 | BGE Docs: Moving the BL_ArmatureConstraint constant docs from bge.types.rst ↵ | Mitchell Stokes | |
to bge.logic.rst with the rest of the constants docs are. | |||
2012-11-22 | BGE Docs: Adding RM_* mode constants from KX_NavMeshObject.draw() | Mitchell Stokes | |
2012-11-22 | Moving the Armature Actuator constant docs from bge.types.rst to ↵ | Mitchell Stokes | |
bge.logic.rst with the rest of the constants docs are. Not only is this more consistent, but it also makes Campbell's script happier. | |||
2012-11-22 | Some KX_CONSTRAINTACT_* constants were incorrectly documented as ↵ | Mitchell Stokes | |
KX_CONSTRAINT_*. | |||
2012-11-22 | Adding docs for KX_NavMeshObject based on doc strings found in ↵ | Mitchell Stokes | |
KX_NavMeshObject.cpp. | |||
2012-11-22 | BGE: KX_PhysicsObjectWrapper was not being used anywhere in the code base, ↵ | Mitchell Stokes | |
but it was being maintained (style, docs, name changes, etc), so I'm removing it. | |||
2012-11-22 | more bge reference api docstrings, leaving KX_FontObject and ↵ | Campbell Barton | |
KX_NavMeshObject as TODO. | |||
2012-11-22 | bge camera axix actuator was undocumented and python had incorrect limits on ↵ | Campbell Barton | |
this attribute. | |||
2012-11-22 | add missing bgl and gpu api docstrings (found using docstring completeness ↵ | Campbell Barton | |
checker) | |||
2012-11-21 | doc corrections and add bge.types.KX_ArmatureSensor | Campbell Barton | |
2012-11-14 | remove ifdef'd bevel code, current bevel works better then the previous code. | Campbell Barton | |
reduce strlen check in texttool_suggest_add() use 'del list[:]' rather then 'list[:] = []' in python scripts which clear lists. | |||
2012-11-13 | Docs update for r52164 | Mitchell Stokes | |
2012-11-12 | build fix: recent commit broke building on 64bit linux | Campbell Barton | |
2012-11-12 | update to python api `Gotcha` docs to reflect changes to the api. also add a ↵ | Campbell Barton | |
section about modifying linked library data. | |||
2012-11-10 | add argument so recent bge function mesh.transform_uv() so you can ↵ | Campbell Barton | |
optionally transform between UV1 / UV2 | |||
2012-11-10 | add 2 new utility functions to the BGE mesh py api. | Campbell Barton | |
mesh.transform(matid, matrix) mesh.transform_uv(matid, matrix, uv_index=-1)) much more efficient then looping over verts in python to transform them. | |||
2012-11-10 | BGE: Committing patch [#32697] "New BGE gravity API" by HG1. | Mitchell Stokes | |
This patch adds a gravity attribute to KX_Scene. | |||
2012-11-05 | BGE: This patch adds a character wrapper (similar to the already implemented ↵ | Mitchell Stokes | |
vehicle wrapper) to control character physics options. Currently supported options are: * jump() -- causes the character to jump * onGround -- specifies whether or not the character is on the ground * gravity -- controls the "gravity" that the character physics uses for the character More options could be added (such as jump speed, step height, make fall speed, max slope, etc). | |||
2012-11-03 | remove unneeded string in datatoc.c and correct some of the context types in ↵ | Campbell Barton | |
our documentation. | |||
2012-11-03 | auto-generated py api now shows bpy.context.* items in the 'References' ↵ | Campbell Barton | |
section of each type. | |||
2012-10-27 | style cleanup | Campbell Barton | |
2012-10-24 | add section on how to run scripts in blender for the API intro, found there ↵ | Campbell Barton | |
were no simple docs like this in the wiki. also set the window type to normal on start when -p argument is given, since the view could be maximized/fullscreen. |