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:
authorCampbell Barton <ideasman42@gmail.com>2011-07-08 01:14:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-08 01:14:36 +0400
commit7ab90056c74f144999175c8e5854b6808e8d8eb5 (patch)
treeea909eac3f5ef78297728809f3efa6a7cdb46b16 /doc
parent9a0de18a52dba878bbdf63ea39422a6353e1bc1f (diff)
fix for 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 48d642f7602..7af7de1068c 100644
--- a/doc/python_api/examples/bpy.types.RenderEngine.py
+++ b/doc/python_api/examples/bpy.types.RenderEngine.py
@@ -61,10 +61,10 @@ bpy.utils.register_class(CustomRenderEngine)
# Otherwise most of the UI will be empty when the engine is selected.
# In this example, we need to see the main render image button and
# the material preview panel.
-import properties_render
+from bl_ui import properties_render
properties_render.RENDER_PT_render.COMPAT_ENGINES.add('custom_renderer')
del properties_render
-import properties_material
+from bl_ui import properties_material
properties_material.MATERIAL_PT_preview.COMPAT_ENGINES.add('custom_renderer')
del properties_material