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>2021-05-27 19:41:55 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2021-05-27 19:41:55 +0300
commite25068ef471c6d6cd5ee64a2eef9b7d672c57029 (patch)
tree06761f2667d2f875d10ed0fff1af1bc7c20a2bda /render_povray/texturing_gui.py
parenta885950276ea98dfa6a67c6d035198b59692a658 (diff)
Revert "POV : fix registering"
This reverts commit a885950276ea98dfa6a67c6d035198b59692a658.
Diffstat (limited to 'render_povray/texturing_gui.py')
-rwxr-xr-xrender_povray/texturing_gui.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/render_povray/texturing_gui.py b/render_povray/texturing_gui.py
index c59f5d57..ad889f43 100755
--- a/render_povray/texturing_gui.py
+++ b/render_povray/texturing_gui.py
@@ -49,12 +49,8 @@ from bl_ui import properties_texture
for member in dir(properties_texture):
subclass = getattr(properties_texture, member)
- try:
+ if hasattr(subclass, "COMPAT_ENGINES"):
subclass.COMPAT_ENGINES.add('POVRAY_RENDER')
- except BaseException as e:
- print(e.__doc__)
- print('An exception occurred: {}'.format(e))
- pass
del properties_texture
@@ -1228,7 +1224,6 @@ class TEXTURE_PT_POV_tex_gamma(TextureButtonsPanel, Panel):
classes = (
WORLD_TEXTURE_SLOTS_UL_POV_layerlist,
TEXTURE_MT_POV_specials,
- #TEXTURE_PT_context,
TEXTURE_PT_POV_context_texture,
TEXTURE_PT_colors,
TEXTURE_PT_POV_type,
@@ -1244,6 +1239,7 @@ classes = (
def register():
+
for cls in classes:
register_class(cls)