Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-03-23 10:55:59 +0400
committerThomas Dinges <blender@dingto.org>2013-03-23 10:55:59 +0400
commitdd713654d5bb5e6d66593368922b8178f53fad2e (patch)
treed75f5ca44850ea38d8db5228e1f521fe3283e88a /release/scripts/startup/bl_ui/properties_physics_fluid.py
parent2006103a520bbc4fe48169e1125d93b6c052a362 (diff)
Code cleanup:
* Use bpy.app.build_options for UI checks rather than custom ones.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_fluid.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_fluid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index 696e895fa67..b3cd5dc5464 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -51,7 +51,7 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel):
fluid = md.settings
col = layout.column()
- if fluid is None:
+ if not bpy.app.build_options.mod_fluid:
col.label("Built without fluids")
return