Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-07-07 08:38:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-07 08:38:41 +0300
commitcd6b49f995fdca5240a9b97fa99b4dd669a047ea (patch)
tree5bdef2750238555e149891e6278a27e9ca5b26ef /source/blender/blenkernel
parenta3e2076bc4f7330188fbb1b3338c9235a7b0bc96 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/BKE_gpencil_modifier.h23
-rw-r--r--source/blender/blenkernel/BKE_library.h2
-rw-r--r--source/blender/blenkernel/intern/softbody.c2
3 files changed, 14 insertions, 13 deletions
diff --git a/source/blender/blenkernel/BKE_gpencil_modifier.h b/source/blender/blenkernel/BKE_gpencil_modifier.h
index d616c74520a..1f2f8ee57bf 100644
--- a/source/blender/blenkernel/BKE_gpencil_modifier.h
+++ b/source/blender/blenkernel/BKE_gpencil_modifier.h
@@ -52,10 +52,10 @@ struct bGPDstroke;
((((_md)->mode & eGpencilModifierMode_Editmode) == 0) && (_is_edit))
typedef enum {
- /* Should not be used, only for None modifier type */
+ /** Should not be used, only for None modifier type. */
eGpencilModifierTypeType_None,
- /* grease pencil modifiers */
+ /** Grease pencil modifiers. */
eGpencilModifierTypeType_Gpencil,
} GpencilModifierTypeType;
@@ -63,25 +63,26 @@ typedef enum {
eGpencilModifierTypeFlag_SupportsMapping = (1 << 0),
eGpencilModifierTypeFlag_SupportsEditmode = (1 << 1),
- /* For modifiers that support editmode this determines if the
- * modifier should be enabled by default in editmode. This should
+ /**
+ * For modifiers that support edit-mode this determines if the
+ * modifier should be enabled by default in edit-mode. This should
* only be used by modifiers that are relatively speedy and
- * also generally used in editmode, otherwise let the user enable
- * it by hand.
+ * also generally used in edit-mode, otherwise let the user enable it by hand.
*/
eGpencilModifierTypeFlag_EnableInEditmode = (1 << 2),
- /* For modifiers that require original data and so cannot
- * be placed after any non-deformative modifier.
+ /**
+ * For modifiers that require original data and so cannot
+ * be placed after any non-deform modifier.
*/
eGpencilModifierTypeFlag_RequiresOriginalData = (1 << 3),
- /* max one per type */
+ /** Max one per type. */
eGpencilModifierTypeFlag_Single = (1 << 4),
- /* can't be added manually by user */
+ /** Can't be added manually by user. */
eGpencilModifierTypeFlag_NoUserAdd = (1 << 5),
- /* can't be applied */
+ /** Can't be applied. */
eGpencilModifierTypeFlag_NoApply = (1 << 6),
} GpencilModifierTypeFlag;
diff --git a/source/blender/blenkernel/BKE_library.h b/source/blender/blenkernel/BKE_library.h
index 6f4dc3aff3b..28769ba7de9 100644
--- a/source/blender/blenkernel/BKE_library.h
+++ b/source/blender/blenkernel/BKE_library.h
@@ -231,7 +231,7 @@ void BKE_main_lib_objects_recalc_all(struct Main *bmain);
void BKE_main_id_repair_duplicate_names_listbase(struct ListBase *lb);
#define MAX_ID_FULL_NAME (64 + 64 + 3 + 1) /* 64 is MAX_ID_NAME - 2 */
-#define MAX_ID_FULL_NAME_UI (MAX_ID_FULL_NAME + 3) /* Adds 'keycode' two letters at begining. */
+#define MAX_ID_FULL_NAME_UI (MAX_ID_FULL_NAME + 3) /* Adds 'keycode' two letters at beginning. */
void BKE_id_full_name_get(char name[MAX_ID_FULL_NAME], const struct ID *id);
void BKE_id_full_name_ui_prefix_get(char name[MAX_ID_FULL_NAME_UI], const struct ID *id);
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c
index b54c11daf03..03fbdc24ce4 100644
--- a/source/blender/blenkernel/intern/softbody.c
+++ b/source/blender/blenkernel/intern/softbody.c
@@ -251,7 +251,7 @@ static float _final_mass(Object *ob, BodyPoint *bp)
/*
* for each target object/face the axis aligned bounding box (AABB) is stored
* faces parallel to global axes
- * so only simple "value" in [min, max] ckecks are used
+ * so only simple "value" in [min, max] checks are used
* float operations still
*/