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>2019-03-21 16:07:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-21 16:07:06 +0300
commitdd1132416e5bcbad5d4f80631b1a9f3152a514ee (patch)
treec3ccf1d18376d42a818dc22c962bcdefc370f0f4 /doc/python_api/examples/bpy.props.py
parentbd1299f6a4398e06db00d77f9ea7382f9e7bcf53 (diff)
Docs: update examples for 2.8x
Use fields for properties
Diffstat (limited to 'doc/python_api/examples/bpy.props.py')
-rw-r--r--doc/python_api/examples/bpy.props.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.props.py b/doc/python_api/examples/bpy.props.py
index c199bd9b83a..d19b57b13a5 100644
--- a/doc/python_api/examples/bpy.props.py
+++ b/doc/python_api/examples/bpy.props.py
@@ -12,7 +12,7 @@ like Blender's existing properties.
import bpy
# Assign a custom property to an existing type.
-bpy.types.Material.custom_float = bpy.props.FloatProperty(name="Test Prob")
+bpy.types.Material.custom_float = bpy.props.FloatProperty(name="Test Property")
# Test the property is there.
bpy.data.materials[0].custom_float = 5.0