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>2017-10-21 04:41:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-21 04:41:42 +0300
commitebb29200d3bf9460ff32100cc1ed6c436e206829 (patch)
treeaabbdb76914ca039b0c1bb60557b5ab47dfe5048 /doc
parent3df2e6d76bc7cbbee9e95330a3045cb2c02791be (diff)
Cleanup: use relative imports in bl_ui
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.types.RenderEngine.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/python_api/examples/bpy.types.RenderEngine.py b/doc/python_api/examples/bpy.types.RenderEngine.py
index efb7640bcc7..f7b2be48bc4 100644
--- a/doc/python_api/examples/bpy.types.RenderEngine.py
+++ b/doc/python_api/examples/bpy.types.RenderEngine.py
@@ -64,9 +64,9 @@ def register():
# In this example, we need to see the main render image button and
# the material preview panel.
from bl_ui import (
- properties_render,
- properties_material,
- )
+ properties_render,
+ properties_material,
+ )
properties_render.RENDER_PT_render.COMPAT_ENGINES.add(CustomRenderEngine.bl_idname)
properties_material.MATERIAL_PT_preview.COMPAT_ENGINES.add(CustomRenderEngine.bl_idname)
@@ -75,9 +75,9 @@ def unregister():
bpy.utils.unregister_class(CustomRenderEngine)
from bl_ui import (
- properties_render,
- properties_material,
- )
+ properties_render,
+ properties_material,
+ )
properties_render.RENDER_PT_render.COMPAT_ENGINES.remove(CustomRenderEngine.bl_idname)
properties_material.MATERIAL_PT_preview.COMPAT_ENGINES.remove(CustomRenderEngine.bl_idname)