[Bf-blender-cvs] [ebb639def2e] fluid-mantaflow: Mantaflow: Small UI fix

Sebastián Barschkis noreply at git.blender.org
Sun May 19 22:02:00 CEST 2019


Commit: ebb639def2e7b2e8751da3a35a39a58ead0b23e3
Author: Sebastián Barschkis
Date:   Sun May 19 21:05:20 2019 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBebb639def2e7b2e8751da3a35a39a58ead0b23e3

Mantaflow: Small UI fix

effector_weights function had deprecated arguments

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

M	release/scripts/startup/bl_ui/properties_physics_smoke.py

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

diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py
index 9d83be8ca2a..7594221be37 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -24,7 +24,6 @@ from bpy.types import (
     Menu,
 )
 from .properties_physics_common import (
-    point_cache_ui,
     effector_weights_ui,
 )
 
@@ -1041,7 +1040,7 @@ class PHYSICS_PT_manta_field_weights(PhysicButtonsPanel, Panel):
 
     def draw(self, context):
         domain = context.smoke.domain_settings
-        effector_weights_ui(self, context, domain.effector_weights, 'SMOKE')
+        effector_weights_ui(self, domain.effector_weights, 'SMOKE')
 
 class PHYSICS_PT_manta_viewport_display(PhysicButtonsPanel, Panel):
     bl_label = "Viewport Display"



More information about the Bf-blender-cvs mailing list