[Bf-blender-cvs] [b122c5ad060] fluid-mantaflow: fix smoke / manta rename in quick effects

Sebastián Barschkis noreply at git.blender.org
Mon Apr 2 16:05:28 CEST 2018


Commit: b122c5ad060680b2c0c8ab4b3884b18ae6ad2d09
Author: Sebastián Barschkis
Date:   Mon Apr 2 16:05:20 2018 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBb122c5ad060680b2c0c8ab4b3884b18ae6ad2d09

fix smoke / manta rename in quick effects

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

M	release/scripts/startup/bl_operators/object_quick_effects.py

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

diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py
index d08eeadcd42..d1a4729f198 100644
--- a/release/scripts/startup/bl_operators/object_quick_effects.py
+++ b/release/scripts/startup/bl_operators/object_quick_effects.py
@@ -318,8 +318,8 @@ class QuickSmoke(Operator):
             )
 
     def execute(self, context):
-        if not bpy.app.build_options.mod_smoke:
-            self.report({'ERROR'}, "Built without Smoke modifier support")
+        if not bpy.app.build_options.manta:
+            self.report({'ERROR'}, "Built without Fluid Mantaflow modifier")
             return {'CANCELLED'}
 
         fake_context = context.copy()



More information about the Bf-blender-cvs mailing list