diff options
Diffstat (limited to 'release/scripts/ui/properties_data_lattice.py')
-rw-r--r-- | release/scripts/ui/properties_data_lattice.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_data_lattice.py b/release/scripts/ui/properties_data_lattice.py index 0c1f9d8001c..2aa719437a7 100644 --- a/release/scripts/ui/properties_data_lattice.py +++ b/release/scripts/ui/properties_data_lattice.py @@ -20,7 +20,7 @@ import bpy from rna_prop_ui import PropertyPanel -narrowui = 180 +narrowui = bpy.context.user_preferences.view.properties_width_check class DataButtonsPanel(bpy.types.Panel): @@ -93,7 +93,9 @@ class DATA_PT_lattice(DataButtonsPanel): col = split.column() col.prop(lat, "interpolation_type_w", text="") - layout.prop(lat, "outside") + row = layout.row() + row.prop(lat, "outside") + row.prop_object(lat, "vertex_group", context.object, "vertex_groups", text="") classes = [ |