mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix #129088: Grease Pencil: Python opacity attributes has wrong defaults
Both the fill and point opacity attributes should default to 1. Pull Request: https://projects.blender.org/blender/blender/pulls/159381
This commit is contained in:
parent
9e049a5aa3
commit
23bec66fa5
1 changed files with 2 additions and 2 deletions
|
|
@ -174,7 +174,7 @@ class GreasePencilStrokePointHandle:
|
|||
@DefAttributeGetterSetters([
|
||||
# Property Name, Attribute Name, Type, Default Value, Docstring.
|
||||
("radius", "radius", 'FLOAT', 0.01, "The radius of the point."),
|
||||
("opacity", "opacity", 'FLOAT', 0.0, "The opacity of the point."),
|
||||
("opacity", "opacity", 'FLOAT', 1.0, "The opacity of the point."),
|
||||
("vertex_color", "vertex_color", 'FLOAT_COLOR', (0.0, 0.0, 0.0, 0.0),
|
||||
"The color for this point. The alpha value is used as a mix factor with the base color of the stroke."),
|
||||
("rotation", "rotation", 'FLOAT', 0.0,
|
||||
|
|
@ -293,7 +293,7 @@ class GreasePencilStrokePointSlice(SliceHelper):
|
|||
("end_cap", "end_cap", 'INT8', 0, "The type of end cap of this stroke."),
|
||||
("aspect_ratio", "aspect_ratio", 'FLOAT', 1.0,
|
||||
"The aspect ratio (x/y) used for textures. "),
|
||||
("fill_opacity", "fill_opacity", 'FLOAT', 0.0, "The opacity of the fill."),
|
||||
("fill_opacity", "fill_opacity", 'FLOAT', 1.0, "The opacity of the fill."),
|
||||
("fill_color", "fill_color", 'FLOAT_COLOR',
|
||||
(0.0, 0.0, 0.0, 0.0), "The color of the fill."),
|
||||
("time_start", "init_time", 'FLOAT', 0.0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue