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:
authorAntonioya <blendergit@gmail.com>2018-09-29 17:42:33 +0300
committerAntonioya <blendergit@gmail.com>2018-09-29 17:54:16 +0300
commit631ddc5acc1369b66450ebf7ef1f1e894f5e4223 (patch)
tree9750a57b6176d676d6cb75a2ad7c9ab2a7826cda /release/scripts/startup
parent2ca67de9609e297ed608469fd6a0d3a9dd9cad2f (diff)
GP: New parameters for instance modifier: Material and On Top
Now it's possible to define what material is used in the generated strokes and if the strokes are put in front of the original (default) or keep the original in front. Before, the generated strokes have been always on top of the original because they were drawn later.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py3
1 files changed, 3 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 803abe98055..843ab79a639 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -1880,6 +1880,9 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
row.prop(md, "pass_index", text="Pass")
row.prop(md, "invert_pass", text="", icon='ARROW_LEFTRIGHT')
+ col.prop(md, "replace_material", text="Material")
+ col.prop(md, "keep_on_top", text="Keep original stroke on top")
+
def GP_BUILD(self, layout, ob, md):
gpd = ob.data