diff options
author | Lukas Stockner <lukasstockner97> | 2020-02-15 03:49:50 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2020-02-15 05:37:20 +0300 |
commit | f6aafd5186bd921637df755797c7ff6f3036a361 (patch) | |
tree | 8a09a244cb18e926907cfeb9df7674063b702ae0 /release/scripts | |
parent | fa4ab69abf5750857e0b79295b13efa73aef0766 (diff) |
Modifiers: Add option to directly specify a 2D transform for UVWarp
Currently the only option is to warp based on the transform of other
objects, which is inconvenient if you want to e.g. control it through
a driver - you need to set up a dummy object and go through that,
which is clunky and should be unneccessary.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6690
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 9128173754c..6159504b68a 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -1456,6 +1456,19 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel): col.prop_search(md, "bone_to", obj.data, "bones", text="") split = layout.split() + col = split.column() + col.label(text="Offset:") + col.prop(md, "offset", text="") + + col = split.column() + col.label(text="Scale:") + col.prop(md, "scale", text="") + + col = split.column() + col.label(text="Rotate:") + col.prop(md, "rotation", text="") + + split = layout.split() col = split.column() col.label(text="Vertex Group:") |