Python: Rename bpy.data.grease_pencils_v3 to bpy.data.grease_pencils

This renames `bpy.data.grease_pencils_v3` to `bpy.data.grease_pencils`.

Part of #125058.

Pull Request: https://projects.blender.org/blender/blender/pulls/146904
This commit is contained in:
Casey Bianco-Davis
2025-09-29 12:32:08 +02:00
committed by Falk David
parent 1067112c11
commit d2269441bb
10 changed files with 17 additions and 17 deletions

View File

@@ -34,7 +34,7 @@ def create_object_data(obj_type, name):
if obj_type == 'VOLUME':
return bpy.data.volumes.new(name)
if obj_type == 'GREASEPENCIL':
return bpy.data.grease_pencils_v3.new(name)
return bpy.data.grease_pencils.new(name)
if obj_type == 'ARMATURE':
return bpy.data.armatures.new(name)
if obj_type == 'LATTICE':