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:
authorAntonio Vazquez <blendergit@gmail.com>2022-02-10 18:59:57 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-02-10 18:59:57 +0300
commita7ae33202fa94a52235fbe595873d81e482d5f58 (patch)
treec075afc26803edd25de9021d3190d2d9613f741d /doc/python_api/rst/info_api_reference.rst
parenta5cddaefd344a4ab8c1d5d1be39edf6e6dc456e0 (diff)
parentad77b52abcbd0daf0d1a3ad395983cb90beeb72a (diff)
Merge branch 'master' into greasepencil-objectgreasepencil-object
Conflicts: release/scripts/startup/bl_ui/space_userpref.py source/blender/blenkernel/BKE_gpencil.h source/blender/blenkernel/BKE_gpencil_update_cache.h source/blender/blenkernel/CMakeLists.txt source/blender/blenkernel/intern/gpencil.c source/blender/blenkernel/intern/gpencil_update_cache.c source/blender/blenlib/BLI_listbase.h source/blender/blenlib/intern/DLRB_tree.c source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_gpencil.cc source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_gpencil.h source/blender/makesdna/DNA_gpencil_types.h source/blender/makesrna/intern/rna_gpencil.c
Diffstat (limited to 'doc/python_api/rst/info_api_reference.rst')
-rw-r--r--doc/python_api/rst/info_api_reference.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/python_api/rst/info_api_reference.rst b/doc/python_api/rst/info_api_reference.rst
index 19d09aee66c..70d201016f0 100644
--- a/doc/python_api/rst/info_api_reference.rst
+++ b/doc/python_api/rst/info_api_reference.rst
@@ -22,7 +22,7 @@ Data Access
===========
The most common case for using the reference API is to find out how to access data in the blend-file.
-Before going any further its best to be aware of ID data-blocks in Blender since you will often find properties
+Before going any further it's best to be aware of ID data-blocks in Blender since you will often find properties
relative to them.
@@ -55,9 +55,9 @@ Start by collecting the information where the data is located.
First find this setting in the interface ``Properties editor -> Object -> Transform -> Location``.
From the button context menu select *Online Python Reference*, this will link you to:
:class:`bpy.types.Object.location`.
-Being an API reference, this link often gives little more information then the tooltip, though some of the pages
+Being an API reference, this link often gives little more information than the tooltip, though some of the pages
include examples (normally at the top of the page).
-But you now know that you have to use ``.location`` and that its an array of three floats.
+But you now know that you have to use ``.location`` and that it's an array of three floats.
So the next step is to find out where to access objects, go down to the bottom of the page to the references section,
for objects there are many references, but one of the most common places to access objects is via the context.
@@ -154,7 +154,7 @@ The tooltip includes :class:`bpy.types.SubsurfModifier.levels` but you want the
Note that the text copied won't include the ``bpy.data.collection["name"].`` component since its assumed that
you won't be doing collection look-ups on every access and typically you'll want to use the context rather
-then access each :class:`bpy.types.ID` instance by name.
+than access each :class:`bpy.types.ID` instance by name.
Type in the ID path into a Python console :mod:`bpy.context.active_object`.
Include the trailing dot and don't execute the code, yet.
@@ -252,6 +252,6 @@ Each entry can be selected, then copied :kbd:`Ctrl-C`, usually to paste in the t
.. note::
Not all operators get registered for display,
- zooming the view for example isn't so useful to repeat so its excluded from the output.
+ zooming the view for example isn't so useful to repeat so it's excluded from the output.
To display *every* operator that runs see :ref:`Show All Operators <info_show_all_operators>`.