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
parentd6934b4a5121b907c9f8d4157f632c677a9d57a9 (diff)
Add back Ouput Properties panel
Ouput panel was gone since 2.8 UI refactoring
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/__init__.py5
-rw-r--r--render_povray/ui.py9
2 files changed, 12 insertions, 2 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 30f18340..69f58022 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -19,13 +19,14 @@
# <pep8 compliant>
bl_info = {
+ #coming soon: "name": "POV-3.8",
"name": "POV-3.7",
"author": "Campbell Barton, Maurice Raybaud, Leonid Desyatkov, "
"Bastien Montagne, Constantin Rahn, Silvio Falcinelli",
"version": (0, 1, 0),
"blender": (2, 80, 0),
- "location": "Render > Engine > POV-Ray 3.7",
- "description": "POV-Ray 3.7 integration for blender",
+ "location": "Render > Engine > Persistence Of Vision",
+ "description": "POV-Ray integration for blender",
"wiki_url": "https://archive.blender.org/wiki/index.php/"
"Extensions:2.6/Py/Scripts/Render/POV-Ray/",
"category": "Render",
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"