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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-08-11 16:35:22 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-08-11 16:35:22 +0300
commit91acff132008ef19d0ff878aae0280b7da709634 (patch)
tree528300e6bb174c8316bc03839e5b1c743ed7c11e /release
parent1f33075ef043f0281c69a261c53eda0ce8334cbe (diff)
Fix T56293: Particle Instance Modifier Axis Buttons UX.
Those axis buttons indeed affect instances orientation even when Create Along Path is not defined...
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py24
1 files changed, 13 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index a147950a36d..1a80a160ea5 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -734,23 +734,25 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
row.prop(md, "particle_amount", text="Amount")
row.prop(md, "particle_offset", text="Offset")
+ row = layout.row(align=True)
+ row.prop(md, "axis", expand=True)
+
layout.separator()
layout.prop(md, "use_path", text="Create Along Paths")
- split = layout.split()
- split.active = md.use_path
- col = split.column()
- col.row().prop(md, "axis", expand=True)
+ col = layout.column()
+ col.active = md.use_path
col.prop(md, "use_preserve_shape")
- col = split.column()
- col2 = col.column(align=True)
- col2.prop(md, "position", slider=True)
- col2.prop(md, "random_position", text="Random", slider=True)
- col2 = col.column(align=True)
- col2.prop(md, "rotation", slider=True)
- col2.prop(md, "random_rotation", text="Random", slider=True)
+ row = col.row(align=True)
+ row.prop(md, "position", slider=True)
+ row.prop(md, "random_position", text="Random", slider=True)
+ row = col.row(align=True)
+ row.prop(md, "rotation", slider=True)
+ row.prop(md, "random_rotation", text="Random", slider=True)
+
+ layout.separator()
col = layout.column()
col.prop_search(md, "index_layer_name", ob.data, "vertex_colors", text="Index Layer")