remove nasty hack which made StructRNA class instaces have no __dict__,

use __slots__, it seems all the parent classes need to have slots as well for this to work.
all python defined srna classes are checked for this too
This commit is contained in:
2009-12-05 23:41:45 +00:00
parent 5ebe54f470
commit 062cf438ce
3 changed files with 22 additions and 15 deletions

View File

@@ -757,6 +757,7 @@ class PovrayRender(bpy.types.RenderEngine):
pov_binary = winreg.QueryValueEx(regKey, 'Home')[0] + '\\bin\\pvengine'
if 1:
# TODO, when povray isnt found this gives a cryptic error, would be nice to be able to detect if it exists
self._process = subprocess.Popen([pov_binary, self._temp_file_ini]) # stdout=subprocess.PIPE, stderr=subprocess.PIPE
else:
# This works too but means we have to wait until its done