cda6f1721a9d9ce750cd21feb2d20890b8ce87fc
The imported GP object should start out in default X/Z plane orientation. The `EulerXYZ` function expects radians. Gradient colors are not supported by Grease Pencil. GPv2 was simple ignoring them and using the `NSVGgradient` pointer as a "color" value, leading to effectively random colors. GPv3 was outputting black instead, but that is easy to mistake for a deliberate color. This patch computes an average gradient color as an approximation, and also generates a warning for the operator when gradients are encountered. Using magenta as a visual indicator is also a possibility, but this proxy color seems to work pretty well. Pull Request: https://projects.blender.org/blender/blender/pulls/126650
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
