[Bf-extensions-cvs] [6d78df97] master: Poray: Fix add-on after Manta project was merged

Sergey Sharybin noreply at git.blender.org
Mon Dec 23 09:59:23 CET 2019


Commit: 6d78df97a55460e8921357a1b7d725684ed67ec1
Author: Sergey Sharybin
Date:   Mon Dec 23 09:58:30 2019 +0100
Branches: master
https://developer.blender.org/rBA6d78df97a55460e8921357a1b7d725684ed67ec1

Poray: Fix add-on after Manta project was merged

The module was renamed from smoke to fluid.

===================================================================

M	render_povray/ui.py

===================================================================

diff --git a/render_povray/ui.py b/render_povray/ui.py
index dcf84757..09f77cf2 100644
--- a/render_povray/ui.py
+++ b/render_povray/ui.py
@@ -126,15 +126,15 @@ for member in dir(properties_physics_rigidbody_constraint):
 del properties_physics_rigidbody_constraint
 
 # Physics Smoke wrapping every class 'as is'
-from bl_ui import properties_physics_smoke
+from bl_ui import properties_physics_fluid
 
-for member in dir(properties_physics_smoke):
-    subclass = getattr(properties_physics_smoke, member)
+for member in dir(properties_physics_fluid):
+    subclass = getattr(properties_physics_fluid, member)
     try:
         subclass.COMPAT_ENGINES.add('POVRAY_RENDER')
     except:
         pass
-del properties_physics_smoke
+del properties_physics_fluid
 
 # Physics softbody wrapping every class 'as is'
 from bl_ui import properties_physics_softbody



More information about the Bf-extensions-cvs mailing list