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>2018-11-30 00:39:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-30 00:39:59 +0300
commit6af997710bf8bf48381bebe73d01d8c521a014ac (patch)
tree84cc30df0a266f31858e40e20c8d178206626116 /doc/python_api/rst/info_quickstart.rst
parentc754b2239c065a76386df211daf365da6ed56312 (diff)
parent8ac2d85d2fd3f8b997e9c9bddadada0dc7bdaf37 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'doc/python_api/rst/info_quickstart.rst')
-rw-r--r--doc/python_api/rst/info_quickstart.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/python_api/rst/info_quickstart.rst b/doc/python_api/rst/info_quickstart.rst
index bbedb3f4fd4..1b6965681b6 100644
--- a/doc/python_api/rst/info_quickstart.rst
+++ b/doc/python_api/rst/info_quickstart.rst
@@ -125,7 +125,7 @@ its attributes can be accessed much like you would change a setting using the gr
In fact, the tooltip for each button also displays the Python attribute
which can help in finding what settings to change in a script.
- >>> bpy.data.objects[0].name
+ >>> bpy.data.objects[0].name
'Camera'
>>> bpy.data.scenes["Scene"]
@@ -267,7 +267,7 @@ Operator Poll()
^^^^^^^^^^^^^^^
Many operators have a "poll" function which may check that the cursor
-is in a valid area or that the object is in the correct mode (Edit Mode, Weight Paint etc).
+is in a valid area or that the object is in the correct mode (Edit Mode, Weight Paint etc).
When an operator's poll function fails within Python, an exception is raised.
For example, calling ``bpy.ops.view3d.render_border()`` from the console raises the following error:
@@ -477,4 +477,3 @@ Using Low-Level Functions:
fcu_z.keyframe_points.add(2)
fcu_z.keyframe_points[0].co = 10.0, 0.0
fcu_z.keyframe_points[1].co = 20.0, 1.0
-