fix for example
authorCampbell Barton <ideasman42@gmail.com>
Thu, 7 Jul 2011 21:14:36 +0000 (21:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 7 Jul 2011 21:14:36 +0000 (21:14 +0000)
doc/python_api/examples/bpy.types.RenderEngine.py

index 48d642f76029cb21cfad5458675fe3cd13d50c66..7af7de1068c33c8c52766026c3610dff7703d965 100644 (file)
@@ -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