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-08-07 21:10:20 +0300
committerAntonioya <blendergit@gmail.com>2018-08-07 21:10:20 +0300
commit8a035612ee8bd361bf43c8935b03822cf1208435 (patch)
treef5d0d4b1227a888e9c4738b49d31f679f4aa10a8 /release/scripts/startup
parent035d827b5b132627d5ea73e3fa237d8fd2185b4f (diff)
Fix T56266: Grease Pencil Tint and Color modifier error when apply
The material created was not right when apply the modifiers. These errors were related to the material modification from old palette system before the merge and for any reason this code was not changed in the right way. Also changed the "Create Colors" to "Create Materials" to keep UI names aligned.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 7eeb45cc52e..3a1801f2a53 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -1756,7 +1756,7 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
row.prop(md, "invert_pass", text="", icon="ARROW_LEFTRIGHT")
row = layout.row()
- row.prop(md, "create_colors")
+ row.prop(md, "create_materials")
def GP_COLOR(self, layout, ob, md):
gpd = ob.data
@@ -1778,7 +1778,7 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
row.prop(md, "invert_pass", text="", icon="ARROW_LEFTRIGHT")
row = layout.row()
- row.prop(md, "create_colors")
+ row.prop(md, "create_materials")
def GP_OPACITY(self, layout, ob, md):
gpd = ob.data