[Bf-blender-cvs] [203d4052998] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Tue Jun 29 12:26:55 CEST 2021


Commit: 203d4052998479439a9d92d5e163b634a45d08bc
Author: Campbell Barton
Date:   Tue Jun 29 20:12:51 2021 +1000
Branches: master
https://developer.blender.org/rB203d4052998479439a9d92d5e163b634a45d08bc

Cleanup: spelling

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

M	source/blender/editors/object/object_transform.c
M	source/blender/makesdna/DNA_material_types.h

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

diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c
index 28c7ba0a774..d1e912b2f37 100644
--- a/source/blender/editors/object/object_transform.c
+++ b/source/blender/editors/object/object_transform.c
@@ -709,7 +709,7 @@ static int apply_objects_internal(bContext *C,
           if (has_unparented_layers == false) {
             BKE_reportf(reports,
                         RPT_ERROR,
-                        "Can't apply to a GP datablock where all layers are parented: Object "
+                        "Can't apply to a GP data-block where all layers are parented: Object "
                         "\"%s\", %s \"%s\", aborting",
                         ob->id.name + 2,
                         BKE_idtype_idcode_to_name(ID_GD),
@@ -722,7 +722,7 @@ static int apply_objects_internal(bContext *C,
           BKE_reportf(
               reports,
               RPT_ERROR,
-              "Can't apply to GP datablock with no layers: Object \"%s\", %s \"%s\", aborting",
+              "Can't apply to GP data-block with no layers: Object \"%s\", %s \"%s\", aborting",
               ob->id.name + 2,
               BKE_idtype_idcode_to_name(ID_GD),
               gpd->id.name + 2);
@@ -1255,7 +1255,7 @@ static int object_origin_set_exec(bContext *C, wmOperator *op)
         }
       }
       else if (ob->type == OB_FONT) {
-        /* Det from bounding-box. */
+        /* Get from bounding-box. */
 
         Curve *cu = ob->data;
 
@@ -1490,7 +1490,7 @@ static int object_origin_set_exec(bContext *C, wmOperator *op)
       BKE_object_batch_cache_dirty_tag(tob);
       DEG_id_tag_update(&tob->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY);
     }
-    /* special support for dupligroups */
+    /* Special support for dupli-groups. */
     else if (tob->instance_collection && tob->instance_collection->id.tag & LIB_TAG_DOIT) {
       DEG_id_tag_update(&tob->id, ID_RECALC_TRANSFORM);
       DEG_id_tag_update(&tob->instance_collection->id, ID_RECALC_COPY_ON_WRITE);
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 62933d44afd..b7354aaa724 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -152,7 +152,7 @@ typedef struct MaterialLineArt {
   /* Used to filter line art occlusion edges */
   unsigned char material_mask_bits;
 
-  /** Maximum 255 levels of equavalent occlusion. */
+  /** Maximum 255 levels of equivalent occlusion. */
   unsigned char mat_occlusion;
 
   unsigned char _pad[2];



More information about the Bf-blender-cvs mailing list