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:
authorZev Eisenberg <ZevEisenberg>2021-01-26 05:58:37 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-01-26 06:37:14 +0300
commit6499a2ec5c7f4efc927ea3975099060b37d22274 (patch)
tree6d98e9b95e37bf5fcfa17af14da4d7824a7d4a12 /release/scripts/templates_py
parentd7a2e0b83cf3d32ad883a3ae26d09e3897cadfe6 (diff)
Fix typos in driver_functions.py
I'm learning how driver functions work, and I found a couple of typos in the driver_functions.py template file. Here's a quick patch to fix them up. Reviewed By: Blendify Differential Revision: https://developer.blender.org/D10149
Diffstat (limited to 'release/scripts/templates_py')
-rw-r--r--release/scripts/templates_py/driver_functions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/templates_py/driver_functions.py b/release/scripts/templates_py/driver_functions.py
index 1c6af0e574f..d3aab75e7ba 100644
--- a/release/scripts/templates_py/driver_functions.py
+++ b/release/scripts/templates_py/driver_functions.py
@@ -1,8 +1,8 @@
-# This script defines functions to be used directly in drivers expressions to
-# extend the builtin set of python functions.
+# This script defines functions to be used directly in driver expressions to
+# extend the built-in set of python functions.
#
# This can be executed on manually or set to 'Register' to
-# initialize thefunctions on file load.
+# initialize the functions on file load.
# two sample functions
@@ -30,6 +30,6 @@ def slow_value(value, fac, uuid):
import bpy
-# Add variable defined in this script into the drivers namespace.
+# Add functions defined in this script into the drivers namespace.
bpy.app.driver_namespace["invert"] = invert
bpy.app.driver_namespace["slow_value"] = slow_value