[Bf-blender-cvs] [34d9e9837a2] blender2.8: UI: Fluid physics panels as sub-panels
Pablo Vazquez
noreply at git.blender.org
Tue Jun 19 15:48:27 CEST 2018
Commit: 34d9e9837a286a1e6aca886a051a166587e0417a
Author: Pablo Vazquez
Date: Tue Jun 19 15:47:11 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB34d9e9837a286a1e6aca886a051a166587e0417a
UI: Fluid physics panels as sub-panels
Also remove suffix from name since they are sub-panels now.
===================================================================
M release/scripts/startup/bl_ui/properties_physics_fluid.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index 6b3dd349f0d..26957c40ff3 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -204,7 +204,8 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel):
class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel):
- bl_label = "Fluid World"
+ bl_label = "World"
+ bl_parent_id = 'PHYSICS_PT_fluid'
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
@@ -253,7 +254,8 @@ class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel):
class PHYSICS_PT_domain_boundary(PhysicButtonsPanel, Panel):
- bl_label = "Fluid Boundary"
+ bl_label = "Boundary"
+ bl_parent_id = 'PHYSICS_PT_fluid'
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
@@ -283,7 +285,8 @@ class PHYSICS_PT_domain_boundary(PhysicButtonsPanel, Panel):
class PHYSICS_PT_domain_particles(PhysicButtonsPanel, Panel):
- bl_label = "Fluid Particles"
+ bl_label = "Particles"
+ bl_parent_id = 'PHYSICS_PT_fluid'
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
More information about the Bf-blender-cvs
mailing list