[Bf-blender-cvs] [a39a7241876] fluid-mantaflow: Mantaflow: Code cleanup in UI
Sebastián Barschkis
noreply at git.blender.org
Thu Jul 18 23:55:32 CEST 2019
Commit: a39a72418764f4882d0cca50a53793a5d0e3a127
Author: Sebastián Barschkis
Date: Thu Jul 18 15:13:30 2019 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBa39a72418764f4882d0cca50a53793a5d0e3a127
Mantaflow: Code cleanup in UI
===================================================================
M release/scripts/startup/bl_ui/properties_physics_manta.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_physics_manta.py b/release/scripts/startup/bl_ui/properties_physics_manta.py
index 44a15cc7aff..7191e6ab93e 100644
--- a/release/scripts/startup/bl_ui/properties_physics_manta.py
+++ b/release/scripts/startup/bl_ui/properties_physics_manta.py
@@ -56,7 +56,7 @@ class PhysicButtonsPanel:
return md and (md.type == 'DOMAIN')
@staticmethod
- def poll_manta_domain(context):
+ def poll_gas_domain(context):
if not PhysicButtonsPanel.poll_fluid(context):
return False
@@ -278,7 +278,7 @@ class PHYSICS_PT_manta_smoke(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- if not PhysicButtonsPanel.poll_manta_domain(context):
+ if not PhysicButtonsPanel.poll_gas_domain(context):
return False
return (context.engine in cls.COMPAT_ENGINES)
@@ -312,7 +312,7 @@ class PHYSICS_PT_manta_smoke_dissolve(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- if not PhysicButtonsPanel.poll_manta_domain(context):
+ if not PhysicButtonsPanel.poll_gas_domain(context):
return False
return (context.engine in cls.COMPAT_ENGINES)
@@ -354,7 +354,7 @@ class PHYSICS_PT_manta_fire(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- if not PhysicButtonsPanel.poll_manta_domain(context):
+ if not PhysicButtonsPanel.poll_gas_domain(context):
return False
return (context.engine in cls.COMPAT_ENGINES)
@@ -556,7 +556,7 @@ class PHYSICS_PT_manta_adaptive_domain(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- if not PhysicButtonsPanel.poll_manta_domain(context):
+ if not PhysicButtonsPanel.poll_gas_domain(context):
return False
return (context.engine in cls.COMPAT_ENGINES)
@@ -599,7 +599,7 @@ class PHYSICS_PT_manta_noise(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- if not PhysicButtonsPanel.poll_manta_domain(context):
+ if not PhysicButtonsPanel.poll_gas_domain(context):
return False
return (context.engine in cls.COMPAT_ENGINES)
@@ -1049,7 +1049,7 @@ class PHYSICS_PT_manta_viewport_display(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- return (PhysicButtonsPanel.poll_manta_domain(context))
+ return (PhysicButtonsPanel.poll_gas_domain(context))
def draw(self, context):
layout = self.layout
@@ -1095,7 +1095,7 @@ class PHYSICS_PT_manta_viewport_display_color(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- return (PhysicButtonsPanel.poll_manta_domain(context))
+ return (PhysicButtonsPanel.poll_gas_domain(context))
def draw_header(self, context):
md = context.manta.domain_settings
@@ -1125,7 +1125,7 @@ class PHYSICS_PT_manta_viewport_display_debug(PhysicButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- return (PhysicButtonsPanel.poll_manta_domain(context))
+ return (PhysicButtonsPanel.poll_gas_domain(context))
def draw_header(self, context):
md = context.manta.domain_settings
More information about the Bf-blender-cvs
mailing list