Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-10-15 00:37:02 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-10-15 00:37:02 +0300
commit9dcfa9d13a1617e05b13bb4ea4d364242b48fdbe (patch)
tree79d7bb59bc8ead2291628201efcc290b69e23f48 /render_povray/ui.py
parentd6934b4a5121b907c9f8d4157f632c677a9d57a9 (diff)
Add back Ouput Properties panel
Ouput panel was gone since 2.8 UI refactoring
Diffstat (limited to 'render_povray/ui.py')
-rw-r--r--render_povray/ui.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/render_povray/ui.py b/render_povray/ui.py
index 5f415727..aedccf77 100644
--- a/render_povray/ui.py
+++ b/render_povray/ui.py
@@ -214,6 +214,15 @@ for member in dir(properties_particle): # add all "particle" panels from blende
pass
del properties_particle
+# Example of wrapping every class 'as is'
+from bl_ui import properties_output
+for member in dir(properties_output):
+ subclass = getattr(properties_output, member)
+ try:
+ subclass.COMPAT_ENGINES.add('POVRAY_RENDER')
+ except:
+ pass
+del properties_output
class POV_WORLD_MT_presets(bpy.types.Menu):
bl_label = "World Presets"