diff options
author | Thomas Dinges <blender@dingto.org> | 2010-05-16 14:21:00 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2010-05-16 14:21:00 +0400 |
commit | e1bf9d30bcbda27c997c451bd261dc01f70de137 (patch) | |
tree | 5bf526d2a9bdd5a98652e02ccf91354a5d065b61 /release/scripts/ui/properties_physics_common.py | |
parent | c2ffcb84975b3854daea54cd987895a0d6695b9b (diff) |
Properties Window:
*The narrowui value was hard coded in all ui scripts, made an user preferences option. Basically this value determines on which area width, it should switch between dual/single column layout.
ToDo: The Changes only take effect when reloading scripts/restarting Blender (after saving as default). Will maybe add the "Reload Scripts" operator next to the button in the future.
* Small fix for Fluid Add Button, when in single column mode. Didn't expand like the other "Add" Buttons.
Diffstat (limited to 'release/scripts/ui/properties_physics_common.py')
-rw-r--r-- | release/scripts/ui/properties_physics_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_physics_common.py b/release/scripts/ui/properties_physics_common.py index eac2bc60f35..097f7586e58 100644 --- a/release/scripts/ui/properties_physics_common.py +++ b/release/scripts/ui/properties_physics_common.py @@ -18,10 +18,10 @@ # <pep8 compliant> -narrowui = 180 - import bpy +narrowui = bpy.context.user_preferences.view.properties_width_check + #cachetype can be 'PSYS' 'HAIR' 'SMOKE' etc def point_cache_ui(self, context, cache, enabled, cachetype): layout = self.layout |