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
path: root/doc
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2017-01-02 08:33:15 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2017-01-02 08:33:15 +0300
commit13174df534e76c528e9d4f959eebbc6481ebf9f1 (patch)
treef4bb0e324f341e3de3bbad885a3d833118f5f352 /doc
parent42e4b0955cf2bf2bcb253f8ef00914ea021c93af (diff)
API: Fix rst syntax
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/info_overview.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/python_api/rst/info_overview.rst b/doc/python_api/rst/info_overview.rst
index b4ae906277d..ba2e6949b81 100644
--- a/doc/python_api/rst/info_overview.rst
+++ b/doc/python_api/rst/info_overview.rst
@@ -19,7 +19,7 @@ This is a typical Python environment so tutorials on how to write Python scripts
will work running the scripts in Blender too.
Blender provides the :mod:`bpy` module to the Python interpreter.
This module can be imported in a script and gives access to Blender data, classes, and functions.
-Scripts that deal with Blender data will need to import this module.
+Scripts that deal with Blender data will need to import this module.
Here is a simple example of moving a vertex of the object named **Cube**:
@@ -80,7 +80,7 @@ To run as modules:
Add-ons
-------
+-------
Some of Blenders functionality is best kept optional,
alongside scripts loaded at startup we have add-ons which are kept in their own directory ``scripts/addons``,
@@ -213,7 +213,7 @@ A simple Blender/Python module can look like this:
bpy.utils.register_class(SimpleOperator)
def unregister():
- bpy.utils.unregister_class(SimpleOperator)
+ bpy.utils.unregister_class(SimpleOperator)
if __name__ == "__main__":
register()
@@ -327,7 +327,7 @@ Say you want to store material settings for a custom engine.
.. note::
*The class must be registered before being used in a property, failing to do so will raise an error:*
-
+
``ValueError: bpy_struct "Material" registration error: my_custom_props could not register``
@@ -429,4 +429,3 @@ Calling these operators:
>>> bpy.ops.object.operator_2()
Hello World OBJECT_OT_operator_2
{'FINISHED'}
-