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:36:18 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2021-05-27 19:36:18 +0300
commita885950276ea98dfa6a67c6d035198b59692a658 (patch)
treee9fef6e15a744e117ce303d84e4cd50227e10c19 /render_povray/scenography.py
parent73c752effe0d3ac18d50ec39a1431b5cb24cd5c2 (diff)
POV : fix registering
Fix : Removed some duplicate class that caused addon register / unregister to fail after previous commit
Diffstat (limited to 'render_povray/scenography.py')
-rwxr-xr-xrender_povray/scenography.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/render_povray/scenography.py b/render_povray/scenography.py
index 4b0c99e3..6c9aed80 100755
--- a/render_povray/scenography.py
+++ b/render_povray/scenography.py
@@ -23,7 +23,7 @@
with world, sky, atmospheric effects such as rainbows or smoke """
import bpy
-from bpy.utils import register_class, unregister_class
+
import os
from imghdr import what # imghdr is a python lib to identify image file types
from math import atan, pi, sqrt, degrees
@@ -832,16 +832,3 @@ def export_smoke(file, smoke_obj_name, smoke_path, comments, global_matrix, writ
# file.write(" frequency 0\n")
# file.write(" }\n")
# file.write("}\n")
-
-
-classes = ()
-
-
-def register():
- for cls in classes:
- register_class(cls)
-
-
-def unregister():
- for cls in classes:
- unregister_class(cls)