Page MenuHome

gpu.shader.from_builtin('3D_POLYLINE_UNIFORM_COLOR') BUG
Closed, ArchivedPublic

Description

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-02-16 20:55, hash: rBb626edd751d6
Worked: (newest version of Blender that worked as expected)

Short description of error
use "gpu.shader.from_builtin('3D_POLYLINE_UNIFORM_COLOR') "
ran And bpy.data.grease_pencils["Annotations.001"].layers["Note"].thickness. The value of thickness changes together

Exact steps for others to reproduce the error
1.open blend file
2.run code
3.adjustment bpy.data.grease_pencils["Annotations.001"].layers["Note"].thickness


Event Timeline

The annotation drawing works with a callback too, where the status can be changed.
There is no default value for the line thickness and the user should not rely on status that can be changed by another callback.
Therefore the user must specify this thickness.
So, thanks for the report, but this is not a bug.

Thank you, I see