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:
authorCampbell Barton <ideasman42@gmail.com>2010-04-11 18:22:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-11 18:22:27 +0400
commit67cfc427eefdefc003ba53db9ca7cf6f4633c252 (patch)
tree43c56a3f29f58ed97f7064b0619bb7d53cee8674 /source/blender/python/doc/sphinx_doc_gen.py
parent4d2bc9f907d312ef86ad340abdee5ea1dadff94b (diff)
PyAPI
- added new mathutils.Color() type, use with rna so we can do for eg: material.diffuse_color.r = 1.0 # also has hsv access material.diffuse_color.s = 0.6 - made Mathutils and Geometry module names lowercase.
Diffstat (limited to 'source/blender/python/doc/sphinx_doc_gen.py')
-rw-r--r--source/blender/python/doc/sphinx_doc_gen.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/doc/sphinx_doc_gen.py b/source/blender/python/doc/sphinx_doc_gen.py
index 7a55a488c92..67cd462b3c1 100644
--- a/source/blender/python/doc/sphinx_doc_gen.py
+++ b/source/blender/python/doc/sphinx_doc_gen.py
@@ -318,7 +318,7 @@ def rna2sphinx(BASEPATH):
fw(" These parts of the API are relatively stable and are unlikely to change significantly\n")
fw(" * data API, access to attributes of blender data such as mesh verts, material color, timeline frames and scene objects\n")
fw(" * user interface functions for defining buttons, creation of menus, headers, panels\n")
- fw(" * modules: bgl, Mathutils and Geometry\n")
+ fw(" * modules: bgl, mathutils and geometry\n")
fw("\n")
fw(".. toctree::\n")
fw(" :maxdepth: 1\n\n")
@@ -332,7 +332,7 @@ def rna2sphinx(BASEPATH):
# C modules
fw(" bpy.props.rst\n\n")
- fw(" Mathutils.rst\n\n")
+ fw(" mathutils.rst\n\n")
fw(" blf.rst\n\n")
file.close()
@@ -371,8 +371,8 @@ def rna2sphinx(BASEPATH):
from bpy import props as module
pymodule2sphinx(BASEPATH, "bpy.props", module, "Property Definitions (bpy.props)")
- import Mathutils as module
- pymodule2sphinx(BASEPATH, "Mathutils", module, "Math Types & Utilities (Mathutils)")
+ import mathutils as module
+ pymodule2sphinx(BASEPATH, "mathutils", module, "Math Types & Utilities (mathutils)")
del module
import blf as module