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:
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/action.c4
-rw-r--r--source/blender/blenkernel/intern/anim_sys.c2
-rw-r--r--source/blender/blenkernel/intern/anim_visualization.c2
-rw-r--r--source/blender/blenkernel/intern/armature.c6
-rw-r--r--source/blender/blenkernel/intern/curve.c4
-rw-r--r--source/blender/blenkernel/intern/dynamicpaint.c8
-rw-r--r--source/blender/blenkernel/intern/idprop.c4
-rw-r--r--source/blender/blenkernel/intern/image.c2
-rw-r--r--source/blender/blenkernel/intern/main_idmap.c2
-rw-r--r--source/blender/blenkernel/intern/object.c4
-rw-r--r--source/blender/blenkernel/intern/pbvh.c2
-rw-r--r--source/blender/blenkernel/intern/sound.c2
-rw-r--r--source/blender/blenkernel/intern/tracking.c2
13 files changed, 22 insertions, 22 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index 8f47739151e..cbecc91b4ec 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -768,7 +768,7 @@ const char *BKE_pose_ikparam_get_name(bPose *pose)
}
/**
- * Allocate a new pose on the heap, and copy the src pose and it's channels
+ * Allocate a new pose on the heap, and copy the src pose and its channels
* into the new pose. *dst is set to the newly allocated structure, and assumed to be NULL.
*
* \param dst: Should be freed already, makes entire duplicate.
@@ -1813,7 +1813,7 @@ void what_does_obaction(Object *ob,
adt.action = act;
BKE_animdata_action_ensure_idroot(&workob->id, act);
- /* execute effects of Action on to workob (or it's PoseChannels) */
+ /* execute effects of Action on to workob (or its PoseChannels) */
BKE_animsys_evaluate_animdata(&workob->id, &adt, anim_eval_context, ADT_RECALC_ANIM, false);
}
}
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c
index 43648713cf8..03c812b3b3d 100644
--- a/source/blender/blenkernel/intern/anim_sys.c
+++ b/source/blender/blenkernel/intern/anim_sys.c
@@ -1957,7 +1957,7 @@ static void nlastrip_evaluate_meta(PointerRNA *ptr,
/* meta-strip was calculated normally to have some time to be evaluated at
* and here we 'look inside' the meta strip, treating it as a decorated window to
- * it's child strips, which get evaluated as if they were some tracks on a strip
+ * its child strips, which get evaluated as if they were some tracks on a strip
* (but with some extra modifiers to apply).
*
* NOTE: keep this in sync with animsys_evaluate_nla()
diff --git a/source/blender/blenkernel/intern/anim_visualization.c b/source/blender/blenkernel/intern/anim_visualization.c
index a6f63c2ba95..5452e2513fb 100644
--- a/source/blender/blenkernel/intern/anim_visualization.c
+++ b/source/blender/blenkernel/intern/anim_visualization.c
@@ -169,7 +169,7 @@ bMotionPath *animviz_verify_motionpaths(ReportList *reports,
}
/* if there is already a motionpath, just return that,
- * provided it's settings are ok (saves extra free+alloc)
+ * provided its settings are ok (saves extra free+alloc)
*/
if (*dst != NULL) {
int expected_length = avs->path_ef - avs->path_sf;
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c
index 1406ee02afd..8c4cad8b3ba 100644
--- a/source/blender/blenkernel/intern/armature.c
+++ b/source/blender/blenkernel/intern/armature.c
@@ -407,7 +407,7 @@ static void copy_bonechildren(Bone *bone_dst,
/* Copy this bone's list */
BLI_duplicatelist(&bone_dst->childbase, &bone_src->childbase);
- /* For each child in the list, update it's children */
+ /* For each child in the list, update its children */
for (bone_src_child = bone_src->childbase.first, bone_dst_child = bone_dst->childbase.first;
bone_src_child;
bone_src_child = bone_src_child->next, bone_dst_child = bone_dst_child->next) {
@@ -726,7 +726,7 @@ bool bone_autoside_name(
* - The extension to append is based upon the axis that we are working on.
* - If head happens to be on 0, then we must consider the tail position as well to decide
* which side the bone is on
- * -> If tail is 0, then it's bone is considered to be on axis, so no extension should be added
+ * -> If tail is 0, then its bone is considered to be on axis, so no extension should be added
* -> Otherwise, extension is added from perspective of object based on which side tail goes to
* - If head is non-zero, extension is added from perspective of object based on side head is on
*/
@@ -1241,7 +1241,7 @@ void BKE_pchan_bbone_handles_compute(const BBoneSplineParameters *param,
/* Extra curve x / y */
/* NOTE:
* Scale correction factors here are to compensate for some random floating-point glitches
- * when scaling up the bone or it's parent by a factor of approximately 8.15/6, which results
+ * when scaling up the bone or its parent by a factor of approximately 8.15/6, which results
* in the bone length getting scaled up too (from 1 to 8), causing the curve to flatten out.
*/
const float xscale_correction = (param->do_scale) ? param->scale[0] : 1.0f;
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c
index 01636c7eb2b..1eb374d1a08 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -2420,7 +2420,7 @@ static void make_bevel_list_3D_minimum_twist(BevList *bl)
else {
/* Need to correct quat for the first/last point,
* this is so because previously it was only calculated
- * using it's own direction, which might not correspond
+ * using its own direction, which might not correspond
* the twist of neighbor point.
*/
bevp1 = bl->bevpoints;
@@ -4606,7 +4606,7 @@ void BKE_nurb_direction_switch(Nurb *nu)
bp2--;
}
/* If there are odd number of points no need to touch coord of middle one,
- * but still need to change it's tilt.
+ * but still need to change its tilt.
*/
if (nu->pntsu & 1) {
bp1->tilt = -bp1->tilt;
diff --git a/source/blender/blenkernel/intern/dynamicpaint.c b/source/blender/blenkernel/intern/dynamicpaint.c
index b7309743af1..fef4b49de7e 100644
--- a/source/blender/blenkernel/intern/dynamicpaint.c
+++ b/source/blender/blenkernel/intern/dynamicpaint.c
@@ -231,7 +231,7 @@ typedef struct PaintUVPoint {
/* vertex indexes */
unsigned int v1, v2, v3;
- /** If this pixel isn't uv mapped to any face, but it's neighboring pixel is. */
+ /** If this pixel isn't uv mapped to any face, but its neighboring pixel is. */
unsigned int neighbor_pixel;
} PaintUVPoint;
@@ -2688,7 +2688,7 @@ static void dynamic_paint_find_island_border(const DynamicPaintCreateUVSurfaceDa
continue;
}
- /* If final point is an "edge pixel", use it's "real" neighbor instead */
+ /* If final point is an "edge pixel", use its "real" neighbor instead */
if (tempPoints[final_index].neighbor_pixel != -1) {
final_index = tempPoints[final_index].neighbor_pixel;
@@ -6271,7 +6271,7 @@ static int dynamicPaint_doStep(Depsgraph *depsgraph,
eModifierType_DynamicPaint);
}
- /* Apply brush on the surface depending on it's collision type */
+ /* Apply brush on the surface depending on its collision type */
if (brush->psys && brush->psys->part &&
ELEM(brush->psys->part->type,
PART_EMITTER,
@@ -6299,7 +6299,7 @@ static int dynamicPaint_doStep(Depsgraph *depsgraph,
dynamicPaint_paintMesh(depsgraph, surface, brush, brushObj, scene, timescale);
}
- /* reset object to it's original state */
+ /* reset object to its original state */
if (subframe) {
scene->r.cfra = scene_frame;
scene->r.subframe = scene_subframe;
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c
index 9ad71918242..113d4cf50d7 100644
--- a/source/blender/blenkernel/intern/idprop.c
+++ b/source/blender/blenkernel/intern/idprop.c
@@ -79,7 +79,7 @@ static size_t idp_size_table[] = {
/**
* \note as a start to move away from the stupid IDP_New function, this type
- * has it's own allocation function.
+ * has its own allocation function.
*/
IDProperty *IDP_NewIDPArray(const char *name)
{
@@ -959,7 +959,7 @@ bool IDP_EqualsProperties(IDProperty *prop1, IDProperty *prop2)
* Allocate a new ID.
*
* This function takes three arguments: the ID property type, a union which defines
- * it's initial value, and a name.
+ * its initial value, and a name.
*
* The union is simple to use; see the top of this header file for its definition.
* An example of using this function:
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 07e31abab48..187908573dd 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -547,7 +547,7 @@ static Image *image_alloc(Main *bmain, const char *name, short source, short typ
return ima;
}
-/* Get the ibuf from an image cache by it's index and entry.
+/* Get the ibuf from an image cache by its index and entry.
* Local use here only.
*
* Returns referenced image buffer if it exists, callee is to
diff --git a/source/blender/blenkernel/intern/main_idmap.c b/source/blender/blenkernel/intern/main_idmap.c
index 718af1f032d..9a6ead7eb2b 100644
--- a/source/blender/blenkernel/intern/main_idmap.c
+++ b/source/blender/blenkernel/intern/main_idmap.c
@@ -48,7 +48,7 @@
* \{ */
struct IDNameLib_Key {
- /** ``ID.name + 2``: without the ID type prefix, since each id type gets it's own 'map' */
+ /** ``ID.name + 2``: without the ID type prefix, since each id type gets its own 'map' */
const char *name;
/** ``ID.lib``: */
const Library *lib;
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index a8017569ba9..f4c4ccbc1d0 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -975,7 +975,7 @@ void BKE_object_free_caches(Object *object)
}
/* Tag object for update, so once memory critical operation is over and
- * scene update routines are back to it's business the object will be
+ * scene update routines are back to its business the object will be
* guaranteed to be in a known state.
*/
if (update_flag != 0) {
@@ -2800,7 +2800,7 @@ void BKE_object_where_is_calc_time(Depsgraph *depsgraph, Scene *scene, Object *o
/**
* Calculate object transformation matrix without recalculating dependencies and
* constraints -- assume dependencies are already solved by depsgraph.
- * No changes to object and it's parent would be done.
+ * No changes to object and its parent would be done.
* Used for bundles orientation in 3d space relative to parented blender camera.
*/
void BKE_object_where_is_calc_mat4(Object *ob, float r_obmat[4][4])
diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c
index 1e4ea19adb6..ab87772d844 100644
--- a/source/blender/blenkernel/intern/pbvh.c
+++ b/source/blender/blenkernel/intern/pbvh.c
@@ -1107,7 +1107,7 @@ static void pbvh_faces_update_normals(PBVH *pbvh, PBVHNode **nodes, int totnode)
* - We know that for all edited vertices, the nodes with faces
* adjacent to these vertices have been marked with PBVH_UpdateNormals.
* This is true because if the vertex is inside the brush radius, the
- * bounding box of it's adjacent faces will be as well.
+ * bounding box of its adjacent faces will be as well.
* - However this is only true for the vertices that have actually been
* edited, not for all vertices in the nodes marked for update, so we
* can only update vertices marked with ME_VERT_PBVH_UPDATE.
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index 0f1b341a606..8bec9f331c5 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -229,7 +229,7 @@ BLI_INLINE void sound_verify_evaluated_id(const ID *id)
*
* Data-blocks which are covered by a copy-on-write system of dependency graph will have
* LIB_TAG_COPIED_ON_WRITE tag set on them. But if some of data-blocks during its evaluation
- * decides to re-allocate it's nested one (for example, object evaluation could re-allocate mesh
+ * decides to re-allocate its nested one (for example, object evaluation could re-allocate mesh
* when evaluating modifier stack). Such data-blocks will have
* LIB_TAG_COPIED_ON_WRITE_EVAL_RESULT tag set on them.
*
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c
index 7c34562e119..cb33610a93f 100644
--- a/source/blender/blenkernel/intern/tracking.c
+++ b/source/blender/blenkernel/intern/tracking.c
@@ -1492,7 +1492,7 @@ MovieTrackingPlaneTrack *BKE_tracking_plane_track_add(MovieTracking *tracking,
BKE_tracking_plane_marker_insert(plane_track, &plane_marker);
- /* Put new plane track to the list, ensure it's name is unique. */
+ /* Put new plane track to the list, ensure its name is unique. */
BLI_addtail(plane_tracks_base, plane_track);
BKE_tracking_plane_track_unique_name(plane_tracks_base, plane_track);