diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-02-23 22:29:59 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-02-23 22:29:59 +0300 |
commit | 3bee6abb74f03cb2170c15c14ea76187dbaead48 (patch) | |
tree | e5b53a6ef2d296496b85071d9c1208f816a637d2 /release/scripts/ui | |
parent | 00c05c84048857391a4f30042721f79c60798814 (diff) |
Fix for [#26133] Explode modifier doesn't care about UVs (Option "split edges")
* This is basically a total rewrite of the edge split algorithm. The old one didn't handle tris at all and quads were cut wrong in some cases too with the addition of not handling uv coordinates at all.
* This new algorithm uses a flag system to categorize different splits and the identical but rotated cases in a similar way to how marching cubes indexes different cases.
* It cuts quads and tris and creates proper uv's for the new faces too.
* I also renamed the option to "edge cut" to differentiate if from the edge split modifier and added an option to override a uv-channel in the exploded mesh with particle age as x-coordinate so that the shrapnel can be faded out nicely etc.
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/properties_data_modifier.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_data_modifier.py b/release/scripts/ui/properties_data_modifier.py index ecee6d0daca..003f4a274cb 100644 --- a/release/scripts/ui/properties_data_modifier.py +++ b/release/scripts/ui/properties_data_modifier.py @@ -259,9 +259,11 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel): sub = col.column() sub.active = bool(md.vertex_group) sub.prop(md, "protect") + col.label(text="Particle UV") + col.prop_search(md, "particle_uv", ob.data, "uv_textures", text="") col = split.column() - col.prop(md, "use_edge_split") + col.prop(md, "use_edge_cut") col.prop(md, "show_unborn") col.prop(md, "show_alive") col.prop(md, "show_dead") |