[Bf-blender-cvs] [0734b235d20] blender-v2.92-release: Fix typos in driver_functions.py
Zev Eisenberg
noreply at git.blender.org
Tue Jan 26 03:59:29 CET 2021
Commit: 0734b235d20f4b764265fce089df73de0f052739
Author: Zev Eisenberg
Date: Mon Jan 25 21:58:37 2021 -0500
Branches: blender-v2.92-release
https://developer.blender.org/rB0734b235d20f4b764265fce089df73de0f052739
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
===================================================================
M release/scripts/templates_py/driver_functions.py
===================================================================
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
More information about the Bf-blender-cvs
mailing list