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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-23 11:28:24 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-23 11:33:11 +0300
commit49593a2c38f0f31869beb818f6436c96f0395803 (patch)
tree5a3f107050cf0f9940d2c75684fc4d547f1c4d1b /doc
parent8022bd705908a0e0bfd615a4e64d5140f326a8d1 (diff)
Fix T64528: error in RenderEngine API docs example
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.types.RenderEngine.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.types.RenderEngine.py b/doc/python_api/examples/bpy.types.RenderEngine.py
index cfb32433248..86ab4b3097d 100644
--- a/doc/python_api/examples/bpy.types.RenderEngine.py
+++ b/doc/python_api/examples/bpy.types.RenderEngine.py
@@ -79,11 +79,11 @@ class CustomRenderEngine(bpy.types.RenderEngine):
print("Datablock updated: ", update.id.name)
# Test if any material was added, removed or changed.
- if depsgraph.id_type_update('MATERIAL'):
+ if depsgraph.id_type_updated('MATERIAL'):
print("Materials updated")
# Loop over all object instances in the scene.
- if first_time or depsgraph.id_type_update('OBJECT'):
+ if first_time or depsgraph.id_type_updated('OBJECT'):
for instance in depsgraph.object_instances:
pass