Tamito Kajiyama
11fc330f7e
Fix for including docstrings of static methods.
2010-04-13 00:55:37 +00:00
Tamito Kajiyama
f85bcac8ae
Added an entry for the documentation of the Freestyle Python API.
...
Also fixed a minor bug in sphinx_doc_gen.py that raised a TypeError
when a C extension function does not have a docstring.
2010-04-05 21:06:32 +00:00
Dalai Felinto
822dcc48cd
bgl/BGE: glCopyTexImage2D + bgl.buffer creation error more verbose + dome post_draw (it draw only for the last overlayed scene)
...
1) glCopyTexImage2D - www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage2D.xml
2) dome post_draw. Now dome mode can also use scene.post_draw. It only runs for the last scene. It's really useful. I'm working on a nice showcase for this (a dome visualizer for the dome mode running with bgl. In the mean time this is a (lame) example of both working together (the buffer is being copied and draw on top of the window):
http://blenderecia.orgfree.com/blender/tmp/dome_bgl_copytex2d.jpg
2010-03-28 10:20:26 +00:00
Guillermo S. Romero
d55cf90bb6
SVN maintenance.
2010-03-20 23:43:50 +00:00
Campbell Barton
391cc2d004
merge own commits into render branch into trunk since 27560
...
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-20 16:41:01 +00:00
Campbell Barton
d975351f51
parts of the Python API are unstable, big discalmer in API docs main page, API Docs title and interactive console banner.
2010-03-01 10:34:54 +00:00
Campbell Barton
ed7f4f2e3c
make BGL and BLF modile names lowercase
2010-02-28 14:57:26 +00:00
Campbell Barton
c1cd33e166
examples for autogenerated docs are now implicit and used when available.
...
This means adding the file "bpy.props.py" in the examples dir will automatically be used when generating docs, unused examples give warnings.
2010-02-28 13:45:08 +00:00
Campbell Barton
fc1cb1670e
include BLF in automated doc generation
...
http://www.blender.org/documentation/250PythonDoc/BLF.html
2010-02-28 11:54:48 +00:00
Campbell Barton
768f20d537
update for missing docs & dont include operator classes in sphinx docs.
2010-02-16 15:01:34 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Campbell Barton
f776303de1
setting invalid vector swizzle attributes (from blender2.4x docs for instance), could crash blender.
...
- disallow setting swizzle's that have duplicate values: vec.xxx = [1,2,3]
- raise an error if the list setting a swizzle's longer.
- mathutils write callback was running on the wrong vector, which could crash blender.
2010-01-31 22:50:07 +00:00
Campbell Barton
fd3842f3a2
Mathutils doc improvements + other small things
...
- bpy.app moved into PyStructSequence (used by sys.float_info)
- added buildinfo into bpy.app.build_*
- bpy.ui removed (wasnt used)
- include external example files in Mathutils docs (only Mathutils and Vector are currently written)
- added support to auto document PyStructSequence's
- CMake had "'s inside all its strings.
2010-01-31 21:52:26 +00:00
Campbell Barton
478dc000b3
* Mathutils attributes documented - http://www.blender.org/documentation/250PythonDoc/Mathutils.html
...
* Vector.difference() needed normalized vectors
* bpy.DEUBG -> bpy.app.debug
2010-01-27 21:33:39 +00:00
Campbell Barton
0a0f4c9d81
Mathutils refactor & include in sphinx generated docs, (TODO, include getset'ers in docs)
...
- Mathutils.MidpointVecs --> vector.lerp(other, fac)
- Mathutils.AngleBetweenVecs --> vector.angle(other)
- Mathutils.ProjectVecs --> vector.project(other)
- Mathutils.DifferenceQuats --> quat.difference(other)
- Mathutils.Slerp --> quat.slerp(other, fac)
- Mathutils.Rand: removed, use pythons random module
- Mathutils.RotationMatrix(angle, size, axis_flag, axis) --> Mathutils.RotationMatrix(angle, size, axis); merge axis & axis_flag args
- Matrix.scalePart --> Matrix.scale_part
- Matrix.translationPart --> Matrix.translation_part
- Matrix.rotationPart --> Matrix.rotation_part
- toMatrix --> to_matrix
- toEuler --> to_euler
- toQuat --> to_quat
- Vector.toTrackQuat --> Vector.to_track_quat
2010-01-25 09:44:04 +00:00
Campbell Barton
120c72e368
remove deprecated functions
2010-01-24 13:11:43 +00:00
Campbell Barton
2cfd3b6586
copy of docs from 2.4x for python modules that have been kept
2010-01-24 12:58:38 +00:00