Commit: fd1b4065f0d035a06f39601e0c9995de9cd52f67
Author: Antonio Vazquez
Date:   Fri Jun 24 16:27:21 2022 +0200
Branches: asset-lite-greasepencil
https://developer.blender.org/rBfd1b4065f0d035a06f39601e0c9995de9cd52f67

Change Frame by Keyframe

===================================================================

M       release/scripts/startup/bl_ui/space_view3d.py
M       source/blender/editors/gpencil/gpencil_asset.c

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py 
b/release/scripts/startup/bl_ui/space_view3d.py
index 50a86a97aba..fd30d87f0a1 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5179,9 +5179,9 @@ class VIEW3D_MT_edit_gpencil_asset(Menu):
         layout.operator("gpencil.asset_create", text="All Layers 
Separated").mode = 'LAYERS_SPLIT'
         layout.separator()
 
-        layout.operator("gpencil.asset_create", text="Active Frame (Active 
Layer)").mode = 'FRAME'
-        layout.operator("gpencil.asset_create", text="Active Frame (All 
Layers)").mode = 'FRAME_ALL'
-        layout.operator("gpencil.asset_create", text="Selected Frames").mode = 
'FRAME_SELECTED'
+        layout.operator("gpencil.asset_create", text="Active Keyframe (Active 
Layer)").mode = 'FRAME'
+        layout.operator("gpencil.asset_create", text="Active Keyframe (All 
Layers)").mode = 'FRAME_ALL'
+        layout.operator("gpencil.asset_create", text="Selected 
Keyframes").mode = 'FRAME_SELECTED'
         layout.separator()
 
         layout.operator("gpencil.asset_create", text="Selected Strokes").mode 
= 'SELECTED'
diff --git a/source/blender/editors/gpencil/gpencil_asset.c 
b/source/blender/editors/gpencil/gpencil_asset.c
index 26eeb5c0427..a8ef9a08fb5 100644
--- a/source/blender/editors/gpencil/gpencil_asset.c
+++ b/source/blender/editors/gpencil/gpencil_asset.c
@@ -390,9 +390,9 @@ void GPENCIL_OT_asset_create(wmOperatorType *ot)
        "All Layers Separated",
        "Create an asset by layer."},
       RNA_ENUM_ITEM_SEPR,
-      {GP_ASSET_MODE_ACTIVE_FRAME, "FRAME", 0, "Active Frame (Active Layer)", 
""},
-      {GP_ASSET_MODE_ACTIVE_FRAME_ALL_LAYERS, "FRAME_ALL", 0, "Active Frame 
(All Layers)", ""},
-      {GP_ASSET_MODE_SELECTED_FRAMES, "FRAME_SELECTED", 0, "Selected Frames", 
""},
+      {GP_ASSET_MODE_ACTIVE_FRAME, "FRAME", 0, "Active Keyframe (Active 
Layer)", ""},
+      {GP_ASSET_MODE_ACTIVE_FRAME_ALL_LAYERS, "FRAME_ALL", 0, "Active Keyframe 
(All Layers)", ""},
+      {GP_ASSET_MODE_SELECTED_FRAMES, "FRAME_SELECTED", 0, "Selected 
Keyframes", ""},
       RNA_ENUM_ITEM_SEPR,
       {GP_ASSET_MODE_SELECTED_STROKES, "SELECTED", 0, "Selected Strokes", ""},
       {GP_ASSET_MODE_SELECTED_POINTS, "POINT", 0, "Selected Points", ""},

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to