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:
authorCampbell Barton <ideasman42@gmail.com>2018-08-24 03:51:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-24 04:55:49 +0300
commitbae8ab3188b33635f90f840fccdc6517a3dae22b (patch)
treeefceca2448068b9aae343e736a160c4fea0fe832 /release/scripts/startup/bl_ui/properties_physics_smoke.py
parent5bd731b6730b6dc31dad7c3e8ccf0555b7bed3f1 (diff)
UI: remove hack to align search properties
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_smoke.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_smoke.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py
index bc8df5630e9..7f21b14e03c 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -123,13 +123,10 @@ class PHYSICS_PT_smoke_settings(PhysicButtonsPanel, Panel):
col.prop(flow_smoke, "smoke_flow_source", expand=False, text="Flow Source")
if flow_smoke.smoke_flow_source == 'PARTICLES':
- # Note: TODO prop_search doesn't align on the right.
- row = col.row(align=True)
- row.prop_search(
+ col.prop_search(
flow_smoke, "particle_system", ob, "particle_systems",
text="Particle System"
)
- row.label(text="", icon='BLANK1')
else:
col.prop(flow_smoke, "surface_distance")
col.prop(flow_smoke, "volume_density")
@@ -153,10 +150,7 @@ class PHYSICS_PT_smoke_settings(PhysicButtonsPanel, Panel):
col.separator()
- # Note: TODO prop_search doesn't align on the right.
- row = col.row(align=True)
- row.prop_search(flow_smoke, "density_vertex_group", ob, "vertex_groups", text="Vertex Group")
- row.label(text="", icon='BLANK1')
+ col.prop_search(flow_smoke, "density_vertex_group", ob, "vertex_groups", text="Vertex Group")
elif md.smoke_type == 'COLLISION':
coll = md.coll_settings
@@ -349,10 +343,7 @@ class PHYSICS_PT_smoke_flow_texture(PhysicButtonsPanel, Panel):
sub.active = flow_smoke.use_texture
if flow_smoke.texture_map_type == 'UV':
- # Note: TODO prop_search doesn't align on the right.
- row = sub.row(align=True)
- row.prop_search(flow_smoke, "uv_layer", ob.data, "uv_layers")
- row.label(text="", icon='BLANK1')
+ sub.prop_search(flow_smoke, "uv_layer", ob.data, "uv_layers")
if flow_smoke.texture_map_type == 'AUTO':
sub.prop(flow_smoke, "texture_size")