[Bf-blender-cvs] [13174df] master: API: Fix rst syntax
Aaron Carlisle
noreply at git.blender.org
Mon Jan 2 06:33:49 CET 2017
Commit: 13174df534e76c528e9d4f959eebbc6481ebf9f1
Author: Aaron Carlisle
Date: Mon Jan 2 00:33:15 2017 -0500
Branches: master
https://developer.blender.org/rB13174df534e76c528e9d4f959eebbc6481ebf9f1
API: Fix rst syntax
===================================================================
M doc/python_api/rst/info_overview.rst
===================================================================
diff --git a/doc/python_api/rst/info_overview.rst b/doc/python_api/rst/info_overview.rst
index b4ae906..ba2e694 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'}
-
More information about the Bf-blender-cvs
mailing list