Breaking changes for Grease Pencil in 4.3 not containing bpy.ops.object.grease_pencil_add #89
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Page Information
Permanent Link
Short description of error
In 4.3 the operator to add a grease pencil object is
bpy.ops.object.grease_pencil_add
, a breaking change from 4.2 where it wasbpy.ops.object.gpencil_add
. It is not documented in this page that is supposed to cover all breaking changes to the API.Ups sorry I think I found the relevant paragraph. https://developer.blender.org/docs/release_notes/4.3/grease_pencil_migration/#operators
However may I suggest adding this case, too ? It is not an operator in the form
bpy.ops.gpencil.*
BTW the Lineart modifier type (
GP_LINEART
in 4.2) becameLINEART
, notGREASE_PENCIL_LINEART
contradicting https://developer.blender.org/docs/release_notes/4.3/grease_pencil_migration/#modifiersCC @filedescriptor