Fix: 2D Animation Template: Update Factory Startup

The function was iterating over the legacy ID type.
Use `bpy.data.grease_pencils_v3` instead.
This commit is contained in:
Falk David
2024-07-19 17:30:58 +02:00
parent a5c4218b02
commit 79744ef360

View File

@@ -37,8 +37,8 @@ def update_factory_startup_scenes():
def update_factory_startup_grease_pencils():
for gpd in bpy.data.grease_pencils:
gpd.onion_keyframe_type = 'ALL'
for grease_pencil in bpy.data.grease_pencils_v3:
grease_pencil.onion_keyframe_type = 'ALL'
@persistent