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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-09-03 18:44:36 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-09-03 18:44:36 +0300
commita43ebc63fafeb3b945529117a2efacc80399d272 (patch)
treed8ab3e90e50177874f2423b3bc1486548dccd7dd /doc
parentb46e987a70682fcfc227ec71e9726c3ad6a230db (diff)
parent265ec400ab1945cd7bc78d50b7d8f184c01fdd10 (diff)
Merge branch 'master' into blender2.8
Conflicts: source/blender/blenkernel/intern/collision.c
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/blender_file_format/BlendFileDnaExporter_25.py2
-rw-r--r--doc/blender_file_format/README4
-rw-r--r--doc/blender_file_format/mystery_of_the_blend.html4
-rw-r--r--doc/guides/blender-guardedalloc.txt2
-rw-r--r--doc/guides/interface_API.txt12
-rw-r--r--doc/python_api/examples/mathutils.Color.py4
-rw-r--r--doc/python_api/examples/mathutils.Quaternion.py2
-rw-r--r--doc/python_api/rst/bgl.rst2
-rw-r--r--doc/python_api/rst/info_gotcha.rst8
-rw-r--r--doc/python_api/rst/info_tips_and_tricks.rst2
-rw-r--r--doc/python_api/rst_from_bmesh_opdefines.py6
-rw-r--r--doc/python_api/sphinx_changelog_gen.py6
-rw-r--r--doc/python_api/sphinx_doc_gen.py16
-rwxr-xr-xdoc/python_api/sphinx_doc_gen.sh4
14 files changed, 37 insertions, 37 deletions
diff --git a/doc/blender_file_format/BlendFileDnaExporter_25.py b/doc/blender_file_format/BlendFileDnaExporter_25.py
index a9da79f04d8..54a3bd56eef 100755
--- a/doc/blender_file_format/BlendFileDnaExporter_25.py
+++ b/doc/blender_file_format/BlendFileDnaExporter_25.py
@@ -383,7 +383,7 @@ def usage():
print("Options:")
print("\t--dna-keep-blend: doesn't delete the produced blend file DNA export to html")
print("\t--dna-debug: sets the logging level to DEBUG (lots of additional info)")
- print("\t--dna-versioned saves version informations in the html and blend filenames")
+ print("\t--dna-versioned saves version information in the html and blend filenames")
print("\t--dna-overwrite-css overwrite dna.css, useful when modifying css in the script")
print("Examples:")
print("\tdefault: % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py")
diff --git a/doc/blender_file_format/README b/doc/blender_file_format/README
index f28d4b3f6b6..531756eb34a 100644
--- a/doc/blender_file_format/README
+++ b/doc/blender_file_format/README
@@ -8,7 +8,7 @@ where "blender2.5" is your blender executable or a symlink to it.
This creates a temporary dna.blend to be inspected and it produces two new files:
* dna.html: the list of all the structures saved in a blend file with the blender2.5
- executable you have used. If you enable build informations when you build blender,
+ executable you have used. If you enable build information when you build blender,
the dna.html file will also show which svn revision the html refers to.
* dna.css: the css for the html above
@@ -20,7 +20,7 @@ Usage:
Options:
--dna-keep-blend: doesn't delete the produced blend file DNA export to html
--dna-debug: sets the logging level to DEBUG (lots of additional info)
- --dna-versioned saves version informations in the html and blend filenames
+ --dna-versioned saves version information in the html and blend filenames
--dna-overwrite-css overwrite dna.css, useful when modifying css in the script
Examples:
default: % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py
diff --git a/doc/blender_file_format/mystery_of_the_blend.html b/doc/blender_file_format/mystery_of_the_blend.html
index 599cb4a05bc..74c59cd0414 100644
--- a/doc/blender_file_format/mystery_of_the_blend.html
+++ b/doc/blender_file_format/mystery_of_the_blend.html
@@ -204,7 +204,7 @@ Nowadays, little-endian is the most commonly used.
<a name="example-endianess"></a>
<div class="box">
<p onclick="location.href='#example-endianess'" class="box-title">
-Endianess Example
+Endianness Example
</p>
<p>
Writing the integer <code class="evidence">0x4A3B2C1Dh</code>, will be ordered:
@@ -826,7 +826,7 @@ Note
</p>
<p>
A file-block containing a list refers to the DNA structure and has a count larger
-than 1. For example Vertexes and Faces are stored in this way.
+than 1. For example Vertices and Faces are stored in this way.
</p>
</div>
diff --git a/doc/guides/blender-guardedalloc.txt b/doc/guides/blender-guardedalloc.txt
index 2e49f25bd92..14425ec2677 100644
--- a/doc/guides/blender-guardedalloc.txt
+++ b/doc/guides/blender-guardedalloc.txt
@@ -5,7 +5,7 @@ NOTE: This file does not cover memutil and smart pointers and reference counted
garbage collection, which are contained in the memutil module.
Blender takes care of dynamic memory allocation using a set of own functions
-which are recognizeable through their MEM_ prefix. All memory allocation and
+which are recognizable through their MEM_ prefix. All memory allocation and
deallocation in blender is done through these functions.
The following functions are available through MEM_guardedalloc.h:
diff --git a/doc/guides/interface_API.txt b/doc/guides/interface_API.txt
index 1874519db8d..631f2098a22 100644
--- a/doc/guides/interface_API.txt
+++ b/doc/guides/interface_API.txt
@@ -35,7 +35,7 @@ Contents
4.4 specials
15. KEYEVT
16. LINK and INLINK
-4.5 uiButton control fuctions
+4.5 uiButton control functions
----------------1. General notes
@@ -130,7 +130,7 @@ It walks through the lists in a rather complex manner:
/* so we create a 2nd loop for it */
- while first block is a menu
- if block is a menu and not initialized:
- - initalize 'saveunder'
+ - initialize 'saveunder'
- draw it
- get event from queue
- call uiDoBlock (handles buttons for single block)
@@ -177,7 +177,7 @@ font:
With the new truetype option in Blender, this is used for all font families
When a uiBlock is created, each uiButton that is defined gets the uiBlock properties.
-Changing Block properties inbetween will affact uiButtons defined thereafter.
+Changing Block properties in between will affact uiButtons defined thereafter.
@@ -217,7 +217,7 @@ void uiBlockSetButmFunc(uiBlock *block, void (*menufunc)(void *arg, int event),
void uiAutoBlock(uiBlock *block, float minx, float miny, float sizex, float sizey, UI_BLOCK_ROWS)
Sets the buttons in this block to automatically align, and fit within boundaries.
- Internally it allows multiple colums or rows as well. Only 'row order' has been implemented.
+ Internally it allows multiple columns or rows as well. Only 'row order' has been implemented.
The uiDefBut definitions don't need coordinates as input here, but instead:
- first value (x1) to indicate row number
- width and height values (if filled in) will be used to define a relative width/height.
@@ -253,7 +253,7 @@ In Blender a button can do four things:
Internally, each button or menu item is a 'uiButton', with a generic API and handling:
ui_def_but(block, type, retval, str, x1, y1, x2, y2, poin, min, max, a1, a2, tip);
-Beacause a lot of obscure generic (re-use) happens here, translation calls have been made
+Because a lot of obscure generic (re-use) happens here, translation calls have been made
for each most button types individually.
@@ -442,7 +442,7 @@ uiDefIconBut(block, INLINK, 0, ICON_INLINK, x1, y1, w, h, void *poin, short from
-------------- 4.5 uiButton control fuctions
+------------- 4.5 uiButton control functions
void uiButSetFunc(uiBut *but, void (*func)(void *arg1, void *arg2), void *arg1, void *arg2)
diff --git a/doc/python_api/examples/mathutils.Color.py b/doc/python_api/examples/mathutils.Color.py
index a55f1195bf6..cedda98ae53 100644
--- a/doc/python_api/examples/mathutils.Color.py
+++ b/doc/python_api/examples/mathutils.Color.py
@@ -26,5 +26,5 @@ col += mathutils.Color((0.25, 0.0, 0.0))
# can printed as integers
print("Color: %d, %d, %d" % (col * 255.0)[:])
-# This example prints the color as hexidecimal
-print("Hexidecimal: %.2x%.2x%.2x" % (col * 255.0)[:])
+# This example prints the color as hexadecimal
+print("Hexadecimal: %.2x%.2x%.2x" % (col * 255.0)[:])
diff --git a/doc/python_api/examples/mathutils.Quaternion.py b/doc/python_api/examples/mathutils.Quaternion.py
index 7e5538b7a96..8a40389a8d6 100644
--- a/doc/python_api/examples/mathutils.Quaternion.py
+++ b/doc/python_api/examples/mathutils.Quaternion.py
@@ -15,7 +15,7 @@ quat_a = mathutils.Quaternion((0.0, 1.0, 0.0), math.radians(90.0))
quat_b = mathutils.Quaternion((0.0, 0.0, 1.0), math.radians(45.0))
quat_out = quat_a * quat_b
-# print the quat, euler degrees for mear mortals and (axis, angle)
+# print the quat, euler degrees for mere mortals and (axis, angle)
print("Final Rotation:")
print(quat_out)
print("%.2f, %.2f, %.2f" % tuple(math.degrees(a) for a in quat_out.to_euler()))
diff --git a/doc/python_api/rst/bgl.rst b/doc/python_api/rst/bgl.rst
index 0b31e62963c..90a1442edeb 100644
--- a/doc/python_api/rst/bgl.rst
+++ b/doc/python_api/rst/bgl.rst
@@ -69,7 +69,7 @@ offers a set of extensive examples, including advanced features.
.. function:: glBegin(mode):
- Delimit the vertices of a primitive or a group of like primatives
+ Delimit the vertices of a primitive or a group of like primitives
.. seealso:: `OpenGL Docs <https://www.opengl.org/sdk/docs/man2/xhtml/glBegin.xml>`__
diff --git a/doc/python_api/rst/info_gotcha.rst b/doc/python_api/rst/info_gotcha.rst
index 2b361d476da..1917273d85c 100644
--- a/doc/python_api/rst/info_gotcha.rst
+++ b/doc/python_api/rst/info_gotcha.rst
@@ -145,8 +145,8 @@ that happens to redraw but is more flexible and integrates better with Blenders
**Ok, Ok! I still want to draw from Python**
-If you insist - yes its possible, but scripts that use this hack wont be considered
-for inclusion in Blender and any issues with using it wont be considered bugs,
+If you insist - yes its possible, but scripts that use this hack won't be considered
+for inclusion in Blender and any issues with using it won't be considered bugs,
this is also not guaranteed to work in future releases.
.. code-block:: python
@@ -265,7 +265,7 @@ All 3 data types can be used for exporting,
the choice mostly depends on whether the target format supports ngons or not.
- Polygons are the most direct & efficient way to export providing they convert into the output format easily enough.
-- Tessfaces work well for exporting to formats which dont support ngons,
+- Tessfaces work well for exporting to formats which don't support ngons,
in fact this is the only place where their use is encouraged.
- BMesh-Faces can work for exporting too but may not be necessary if polygons can be used
since using bmesh gives some overhead because its not the native storage format in object mode.
@@ -551,7 +551,7 @@ to avoid getting stuck too deep in encoding problems - here are some suggestions
.. note::
- Sometimes it's preferrable to avoid string encoding issues by using bytes instead of Python strings,
+ Sometimes it's preferable to avoid string encoding issues by using bytes instead of Python strings,
when reading some input its less trouble to read it as binary data
though you will still need to decide how to treat any strings you want to use with Blender,
some importers do this.
diff --git a/doc/python_api/rst/info_tips_and_tricks.rst b/doc/python_api/rst/info_tips_and_tricks.rst
index b7137fcbdea..332716087a7 100644
--- a/doc/python_api/rst/info_tips_and_tricks.rst
+++ b/doc/python_api/rst/info_tips_and_tricks.rst
@@ -209,7 +209,7 @@ Bundled Python & Extensions
===========================
The Blender releases distributed from blender.org include a complete Python installation on all platforms,
-this has the disadvantage that any extensions you have installed in your systems Python wont be found by Blender.
+this has the disadvantage that any extensions you have installed in your systems Python won't be found by Blender.
There are 2 ways around this:
diff --git a/doc/python_api/rst_from_bmesh_opdefines.py b/doc/python_api/rst_from_bmesh_opdefines.py
index d9e2f7f12e7..c4e97d1f38b 100644
--- a/doc/python_api/rst_from_bmesh_opdefines.py
+++ b/doc/python_api/rst_from_bmesh_opdefines.py
@@ -346,7 +346,7 @@ def main():
elif tp_sub == BMO_OP_SLOT_SUBTYPE_PTR_MESH:
tp_str = ":class:`bpy.types.Mesh`"
else:
- print("Cant find", vars_dict_reverse[tp_sub])
+ print("Can't find", vars_dict_reverse[tp_sub])
assert(0)
elif tp == BMO_OP_SLOT_ELEMENT_BUF:
@@ -383,10 +383,10 @@ def main():
elif tp_sub == BMO_OP_SLOT_SUBTYPE_MAP_INTERNAL:
tp_str += "unknown internal data, not compatible with python"
else:
- print("Cant find", vars_dict_reverse[tp_sub])
+ print("Can't find", vars_dict_reverse[tp_sub])
assert(0)
else:
- print("Cant find", vars_dict_reverse[tp])
+ print("Can't find", vars_dict_reverse[tp])
assert(0)
args_wash.append((name, tp_str, comment))
diff --git a/doc/python_api/sphinx_changelog_gen.py b/doc/python_api/sphinx_changelog_gen.py
index 8758590dbae..c96412b9d65 100644
--- a/doc/python_api/sphinx_changelog_gen.py
+++ b/doc/python_api/sphinx_changelog_gen.py
@@ -113,7 +113,7 @@ def api_dump():
)
del props
- # python props, tricky since we dont know much about them.
+ # python props, tricky since we don't know much about them.
for prop_id, attr in struct_info.get_py_properties():
dump_class[prop_id] = (
@@ -289,7 +289,7 @@ def api_changelog(api_from, api_to, api_out):
if props_old:
write_title("Removed", "^")
for prop_id in props_old:
- fw("* **%s**\n" % prop_id) # cant link to remvoed docs
+ fw("* **%s**\n" % prop_id) # can't link to removed docs
fw("\n")
if props_moved:
@@ -351,7 +351,7 @@ def main():
"--api_out", dest="api_out", metavar='FILE',
help="Output sphinx changelog")
- args = parser.parse_args(argv) # In this example we wont use the args
+ args = parser.parse_args(argv) # In this example we won't use the args
if not argv:
print("No args given!")
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 6e7d2e45f3a..9b58f7b3888 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -461,7 +461,7 @@ if ARGS.sphinx_build_pdf:
# --------------------------------API DUMP--------------------------------------
-# lame, python wont give some access
+# lame, python won't give some access
ClassMethodDescriptorType = type(dict.__dict__['fromkeys'])
MethodDescriptorType = type(dict.get)
GetSetDescriptorType = type(int.real)
@@ -645,7 +645,7 @@ def pyfunc2sphinx(ident, fw, module_name, type_name, identifier, py_func, is_cla
if not is_class:
func_type = "function"
- # ther rest are class methods
+ # the rest are class methods
elif arg_str.startswith("(self, ") or arg_str == "(self)":
arg_str = "()" if (arg_str == "(self)") else ("(" + arg_str[7:])
func_type = "method"
@@ -779,7 +779,7 @@ def pymodule2sphinx(basepath, module_name, module, title):
fw(".. module:: %s\n\n" % module_name)
if module.__doc__:
- # Note, may contain sphinx syntax, dont mangle!
+ # Note, may contain sphinx syntax, don't mangle!
fw(module.__doc__.strip())
fw("\n\n")
@@ -1076,7 +1076,7 @@ def pycontext2sphinx(basepath):
def write_contex_cls():
fw(title_string("Global Context", "-"))
- fw("These properties are avilable in any contexts.\n\n")
+ fw("These properties are available in any contexts.\n\n")
# very silly. could make these global and only access once.
# structs, funcs, ops, props = rna_info.BuildRNAInfo()
@@ -1100,7 +1100,7 @@ def pycontext2sphinx(basepath):
if prop.description:
fw(" %s\n\n" % prop.description)
- # special exception, cant use genric code here for enums
+ # special exception, can't use generic code here for enums
if prop.type == "enum":
enum_text = pyrna_enum2sphinx(prop)
if enum_text:
@@ -1222,7 +1222,7 @@ def pyrna2sphinx(basepath):
if prop.name or prop.description:
fw(ident + " " + ", ".join(val for val in (prop.name, prop.description) if val) + "\n\n")
- # special exception, cant use genric code here for enums
+ # special exception, can't use generic code here for enums
if enum_text:
write_indented_lines(ident + " ", fw, enum_text)
fw("\n")
@@ -1321,7 +1321,7 @@ def pyrna2sphinx(basepath):
if prop.description:
fw(" %s\n\n" % prop.description)
- # special exception, cant use genric code here for enums
+ # special exception, can't use generic code here for enums
if prop.type == "enum":
enum_text = pyrna_enum2sphinx(prop)
if enum_text:
@@ -1354,7 +1354,7 @@ def pyrna2sphinx(basepath):
elif func.return_values: # multiple return values
fw(" :return (%s):\n" % ", ".join(prop.identifier for prop in func.return_values))
for prop in func.return_values:
- # TODO, pyrna_enum2sphinx for multiple return values... actually dont
+ # TODO, pyrna_enum2sphinx for multiple return values... actually don't
# think we even use this but still!!!
type_descr = prop.get_type_description(
as_ret=True, class_fmt=":class:`%s`", collection_id=_BPY_PROP_COLLECTION_ID)
diff --git a/doc/python_api/sphinx_doc_gen.sh b/doc/python_api/sphinx_doc_gen.sh
index 0c1f531ffac..598b133af80 100755
--- a/doc/python_api/sphinx_doc_gen.sh
+++ b/doc/python_api/sphinx_doc_gen.sh
@@ -58,7 +58,7 @@ SPHINX_WORKDIR="$(mktemp --directory --suffix=.sphinx)"
# Generate reStructuredText (blender/python only)
if $DO_EXE_BLENDER ; then
- # dont delete existing docs, now partial updates are used for quick builds.
+ # don't delete existing docs, now partial updates are used for quick builds.
$BLENDER_BIN \
--background \
-noaudio \
@@ -89,7 +89,7 @@ if $DO_OUT_HTML ; then
# and zip up there, for now this is OK
rm -rf sphinx-out/.doctrees
- # incase we have a zip already
+ # in case we have a zip already
rm -f blender_python_reference_$BLENDER_VERSION.zip
# ------------------------------------------------------------------------