diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-21 15:37:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-21 15:37:20 +0300 |
commit | 82cc62d31778ebd71d666ce1a6460c211fa5c196 (patch) | |
tree | 4bc2166734698e23386b4e529ebed6cdb00cfd3f /render_povray/ui.py | |
parent | 72cbf6baa5113979cafc40f1b0e9d5c02b4386d7 (diff) |
updates for changes in blender.
Diffstat (limited to 'render_povray/ui.py')
-rw-r--r-- | render_povray/ui.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/render_povray/ui.py b/render_povray/ui.py index 7619d2b2..233cc601 100644 --- a/render_povray/ui.py +++ b/render_povray/ui.py @@ -22,7 +22,7 @@ import bpy from bpy.props import EnumProperty # Use some of the existing buttons. -import properties_render +from bl_ui import properties_render properties_render.RENDER_PT_render.COMPAT_ENGINES.add('POVRAY_RENDER') properties_render.RENDER_PT_dimensions.COMPAT_ENGINES.add('POVRAY_RENDER') # properties_render.RENDER_PT_antialiasing.COMPAT_ENGINES.add('POVRAY_RENDER') @@ -31,7 +31,7 @@ properties_render.RENDER_PT_output.COMPAT_ENGINES.add('POVRAY_RENDER') del properties_render # Use only a subset of the world panels -import properties_world +from bl_ui import properties_world properties_world.WORLD_PT_preview.COMPAT_ENGINES.add('POVRAY_RENDER') properties_world.WORLD_PT_context_world.COMPAT_ENGINES.add('POVRAY_RENDER') properties_world.WORLD_PT_world.COMPAT_ENGINES.add('POVRAY_RENDER') @@ -39,7 +39,7 @@ properties_world.WORLD_PT_mist.COMPAT_ENGINES.add('POVRAY_RENDER') del properties_world # Example of wrapping every class 'as is' -import properties_material +from bl_ui import properties_material for member in dir(properties_material): subclass = getattr(properties_material, member) try: @@ -48,7 +48,7 @@ for member in dir(properties_material): pass del properties_material -import properties_data_mesh +from bl_ui import properties_data_mesh for member in dir(properties_data_mesh): subclass = getattr(properties_data_mesh, member) try: @@ -57,7 +57,7 @@ for member in dir(properties_data_mesh): pass del properties_data_mesh -import properties_texture +from bl_ui import properties_texture for member in dir(properties_texture): subclass = getattr(properties_texture, member) try: @@ -66,7 +66,7 @@ for member in dir(properties_texture): pass del properties_texture -import properties_data_camera +from bl_ui import properties_data_camera for member in dir(properties_data_camera): subclass = getattr(properties_data_camera, member) try: @@ -75,7 +75,7 @@ for member in dir(properties_data_camera): pass del properties_data_camera -import properties_data_lamp +from bl_ui import properties_data_lamp for member in dir(properties_data_lamp): subclass = getattr(properties_data_lamp, member) try: |