[Bf-blender-cvs] [37741c8ef08] asset-metadata: Rename "Make Asset" to "Create Asset"

Julian Eisel noreply at git.blender.org
Sat Jul 4 15:16:41 CEST 2020


Commit: 37741c8ef08b0945f912574c60ba2777388f5537
Author: Julian Eisel
Date:   Sat Jul 4 14:49:20 2020 +0200
Branches: asset-metadata
https://developer.blender.org/rB37741c8ef08b0945f912574c60ba2777388f5537

Rename "Make Asset" to "Create Asset"

The term "make" in this context refers to modifying an item to obtain a certain
property. Creating an asset however means saving a copy of a data-block as
asset. So "create" is better suited here.

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

M	source/blender/editors/space_outliner/outliner_tools.c

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

diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index af94727107a..58f1b88c0ef 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -1526,7 +1526,7 @@ typedef enum eOutlinerIdOpTypes {
   OUTLINER_IDOP_INVALID = 0,
 
   OUTLINER_IDOP_UNLINK,
-  OUTLINER_IDOP_MAKE_ASSET,
+  OUTLINER_IDOP_CREATE_ASSET,
   OUTLINER_IDOP_LOCAL,
   OUTLINER_IDOP_OVERRIDE_LIBRARY,
   OUTLINER_IDOP_SINGLE,
@@ -1546,7 +1546,7 @@ typedef enum eOutlinerIdOpTypes {
 // TODO: implement support for changing the ID-block used
 static const EnumPropertyItem prop_id_op_types[] = {
     {OUTLINER_IDOP_UNLINK, "UNLINK", 0, "Unlink", ""},
-    {OUTLINER_IDOP_MAKE_ASSET, "MAKE_ASSET", 0, "Make Asset", ""},
+    {OUTLINER_IDOP_CREATE_ASSET, "CREATE_ASSET", 0, "Create Asset", ""},
     {OUTLINER_IDOP_LOCAL, "LOCAL", 0, "Make Local", ""},
     {OUTLINER_IDOP_OVERRIDE_LIBRARY,
      "OVERRIDE_LIBRARY",
@@ -1692,7 +1692,7 @@ static int outliner_id_operation_exec(bContext *C, wmOperator *op)
       }
       break;
     }
-    case OUTLINER_IDOP_MAKE_ASSET: {
+    case OUTLINER_IDOP_CREATE_ASSET: {
       outliner_do_libdata_operation(
           C, op->reports, scene, soops, &soops->tree, id_make_asset_cb, NULL);
       ED_undo_push(C, "Made Asset");



More information about the Bf-blender-cvs mailing list