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:
-rw-r--r--intern/atomic/atomic_ops.h2
-rw-r--r--intern/cycles/bvh/bvh_split.h2
-rw-r--r--intern/cycles/kernel/kernel_volume.h2
-rw-r--r--intern/cycles/kernel/svm/svm.h2
-rw-r--r--intern/cycles/render/tile.h2
-rw-r--r--intern/cycles/util/util_half.h2
-rw-r--r--intern/ghost/GHOST_ISystem.h2
-rw-r--r--intern/iksolver/intern/IK_QJacobian.h2
-rw-r--r--intern/libmv/libmv/simple_pipeline/bundle.cc4
-rw-r--r--intern/libmv/libmv/simple_pipeline/modal_solver.cc2
-rw-r--r--intern/mikktspace/mikktspace.c2
-rw-r--r--intern/opencolorio/ocio_impl_glsl.cc2
-rw-r--r--intern/opensubdiv/internal/topology/topology_refiner_factory.cc2
-rw-r--r--intern/opensubdiv/opensubdiv_converter_capi.h2
-rw-r--r--source/blender/blenkernel/BKE_DerivedMesh.h2
-rw-r--r--source/blender/blenkernel/BKE_animsys.h2
-rw-r--r--source/blender/blenkernel/BKE_editmesh.h2
-rw-r--r--source/blender/blenkernel/BKE_main.h2
-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
-rw-r--r--source/blender/blenlib/intern/BLI_ghash.c2
-rw-r--r--source/blender/blenlib/intern/BLI_ghash_utils.c2
-rw-r--r--source/blender/blenlib/intern/BLI_heap.c2
-rw-r--r--source/blender/blenlib/intern/BLI_heap_simple.c2
-rw-r--r--source/blender/blenlib/intern/kdtree_impl.h2
-rw-r--r--source/blender/blenlib/intern/listbase.c2
-rw-r--r--source/blender/blenlib/intern/math_geom.c2
-rw-r--r--source/blender/blenloader/intern/readfile.c2
-rw-r--r--source/blender/blenloader/intern/versioning_defaults.c2
-rw-r--r--source/blender/bmesh/bmesh.h2
-rw-r--r--source/blender/bmesh/intern/bmesh_construct.c2
-rw-r--r--source/blender/bmesh/intern/bmesh_log.c2
-rw-r--r--source/blender/bmesh/intern/bmesh_operators.c2
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.c4
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon_edgenet.c2
-rw-r--r--source/blender/bmesh/intern/bmesh_walkers.c2
-rw-r--r--source/blender/bmesh/operators/bmo_edgenet.c2
-rw-r--r--source/blender/bmesh/operators/bmo_rotate_edges.c2
-rw-r--r--source/blender/bmesh/tools/bmesh_decimate_collapse.c2
-rw-r--r--source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp2
-rw-r--r--source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp2
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc2
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc4
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc2
-rw-r--r--source/blender/depsgraph/intern/node/deg_node.cc2
-rw-r--r--source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl2
-rw-r--r--source/blender/draw/engines/eevee/shaders/volumetric_geom.glsl2
-rw-r--r--source/blender/draw/engines/overlay/overlay_armature.c2
-rw-r--r--source/blender/draw/engines/workbench/workbench_effect_cavity.c2
-rw-r--r--source/blender/draw/intern/draw_common.c2
-rw-r--r--source/blender/draw/intern/draw_instance_data.c2
-rw-r--r--source/blender/editors/animation/anim_filter.c4
-rw-r--r--source/blender/editors/armature/armature_add.c4
-rw-r--r--source/blender/editors/armature/armature_select.c2
-rw-r--r--source/blender/editors/armature/pose_transform.c4
-rw-r--r--source/blender/editors/include/ED_keyframing.h2
-rw-r--r--source/blender/editors/interface/interface.c2
-rw-r--r--source/blender/editors/interface/interface_panel.c2
-rw-r--r--source/blender/editors/interface/interface_region_tooltip.c2
-rw-r--r--source/blender/editors/interface/interface_template_search_menu.c2
-rw-r--r--source/blender/editors/interface/interface_templates.c2
-rw-r--r--source/blender/editors/interface/interface_widgets.c2
-rw-r--r--source/blender/editors/mask/mask_ops.c2
-rw-r--r--source/blender/editors/mesh/editmesh_select.c4
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex.c2
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_detail.c2
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h2
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c2
-rw-r--r--source/blender/editors/space_clip/clip_editor.c2
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c2
-rw-r--r--source/blender/editors/space_clip/tracking_select.c2
-rw-r--r--source/blender/editors/space_image/image_buttons.c2
-rw-r--r--source/blender/editors/space_info/info_stats.c2
-rw-r--r--source/blender/editors/space_info/textview.c2
-rw-r--r--source/blender/editors/space_node/node_templates.c2
-rw-r--r--source/blender/editors/space_outliner/outliner_utils.c2
-rw-r--r--source/blender/editors/space_sequencer/sequencer_draw.c2
-rw-r--r--source/blender/editors/space_text/space_text.c2
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c2
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c4
-rw-r--r--source/blender/editors/space_view3d/view3d_placement.c2
-rw-r--r--source/blender/editors/space_view3d/view3d_utils.c2
-rw-r--r--source/blender/editors/transform/transform_gizmo_2d.c6
-rw-r--r--source/blender/editors/undo/ed_undo.c2
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.h2
-rw-r--r--source/blender/editors/uvedit/uvedit_rip.c2
-rw-r--r--source/blender/functions/FN_array_spans.hh2
-rw-r--r--source/blender/gpu/GPU_batch.h2
-rw-r--r--source/blender/gpu/opengl/gl_framebuffer.hh2
-rw-r--r--source/blender/imbuf/intern/colormanagement.c2
-rw-r--r--source/blender/imbuf/intern/readimage.c2
-rw-r--r--source/blender/io/collada/ArmatureExporter.cpp2
-rw-r--r--source/blender/makesdna/DNA_ID.h2
-rw-r--r--source/blender/makesdna/DNA_anim_types.h2
-rw-r--r--source/blender/makesdna/DNA_boid_types.h4
-rw-r--r--source/blender/makesdna/DNA_linestyle_types.h2
-rw-r--r--source/blender/makesdna/DNA_mask_types.h2
-rw-r--r--source/blender/makesdna/DNA_meshdata_types.h2
-rw-r--r--source/blender/makesdna/DNA_scene_types.h2
-rw-r--r--source/blender/makesdna/DNA_sdna_types.h2
-rw-r--r--source/blender/makesdna/DNA_sound_types.h2
-rw-r--r--source/blender/makesdna/DNA_tracking_types.h2
-rw-r--r--source/blender/makesdna/intern/dna_genfile.c4
-rw-r--r--source/blender/makesdna/intern/dna_rename_defs.h2
-rw-r--r--source/blender/makesrna/intern/rna_boid.c4
-rw-r--r--source/blender/makesrna/intern/rna_image_api.c2
-rw-r--r--source/blender/makesrna/intern/rna_mask.c2
-rw-r--r--source/blender/makesrna/intern/rna_movieclip.c2
-rw-r--r--source/blender/makesrna/intern/rna_particle.c2
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c2
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c2
-rw-r--r--source/blender/nodes/shader/node_shader_tree.c2
-rw-r--r--source/blender/python/intern/bpy_rna.c2
-rw-r--r--source/blender/python/intern/bpy_rna_types_capi.c2
-rw-r--r--source/blender/python/intern/bpy_rna_ui.c2
-rw-r--r--source/blender/sequencer/intern/sequencer.c2
-rw-r--r--source/blender/windowmanager/gizmo/WM_gizmo_types.h6
-rw-r--r--source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c2
-rw-r--r--source/blender/windowmanager/intern/wm_cursors.c2
-rw-r--r--source/blender/windowmanager/intern/wm_toolsystem.c2
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
133 files changed, 158 insertions, 158 deletions
diff --git a/intern/atomic/atomic_ops.h b/intern/atomic/atomic_ops.h
index 106e19567da..5e89315ebdc 100644
--- a/intern/atomic/atomic_ops.h
+++ b/intern/atomic/atomic_ops.h
@@ -57,7 +57,7 @@
#if defined(__arm__)
/* Attempt to fix compilation error on Debian armel kernel.
* arm7 architecture does have both 32 and 64bit atomics, however
- * it's gcc doesn't have __GCC_HAVE_SYNC_COMPARE_AND_SWAP_n defined.
+ * its gcc doesn't have __GCC_HAVE_SYNC_COMPARE_AND_SWAP_n defined.
*/
# define JE_FORCE_SYNC_COMPARE_AND_SWAP_1
# define JE_FORCE_SYNC_COMPARE_AND_SWAP_4
diff --git a/intern/cycles/bvh/bvh_split.h b/intern/cycles/bvh/bvh_split.h
index 28ff0e05fc3..5582d90bf83 100644
--- a/intern/cycles/bvh/bvh_split.h
+++ b/intern/cycles/bvh/bvh_split.h
@@ -105,7 +105,7 @@ class BVHSpatialSplit {
/* Lower-level functions which calculates boundaries of left and right nodes
* needed for spatial split.
*
- * Operates directly with primitive specified by it's index, reused by higher
+ * Operates directly with primitive specified by its index, reused by higher
* level splitting functions.
*/
void split_triangle_primitive(const Mesh *mesh,
diff --git a/intern/cycles/kernel/kernel_volume.h b/intern/cycles/kernel/kernel_volume.h
index b4f9d2186f4..f5d10c0ca8a 100644
--- a/intern/cycles/kernel/kernel_volume.h
+++ b/intern/cycles/kernel/kernel_volume.h
@@ -777,7 +777,7 @@ ccl_device void kernel_volume_decoupled_record(KernelGlobals *kg,
*
* This gives us restrictions that decoupled record should only happen
* in the stack manner, meaning if there's subsequent call of decoupled
- * record it'll need to free memory before it's caller frees memory.
+ * record it'll need to free memory before its caller frees memory.
*/
const int index = kg->decoupled_volume_steps_index;
assert(index < sizeof(kg->decoupled_volume_steps) / sizeof(*kg->decoupled_volume_steps));
diff --git a/intern/cycles/kernel/svm/svm.h b/intern/cycles/kernel/svm/svm.h
index abeb8fa7457..6c849f5b2fc 100644
--- a/intern/cycles/kernel/svm/svm.h
+++ b/intern/cycles/kernel/svm/svm.h
@@ -20,7 +20,7 @@
/* Shader Virtual Machine
*
* A shader is a list of nodes to be executed. These are simply read one after
- * the other and executed, using an node counter. Each node and it's associated
+ * the other and executed, using an node counter. Each node and its associated
* data is encoded as one or more uint4's in a 1D texture. If the data is larger
* than an uint4, the node can increase the node counter to compensate for this.
* Floats are encoded as int and then converted to float again.
diff --git a/intern/cycles/render/tile.h b/intern/cycles/render/tile.h
index 4858a275d5c..790a56f9445 100644
--- a/intern/cycles/render/tile.h
+++ b/intern/cycles/render/tile.h
@@ -158,7 +158,7 @@ class TileManager {
*
* however viewport rendering expects tiles to be allocated in a special way,
* meaning image is being sliced horizontally first and every device handles
- * it's own slice
+ * its own slice
*/
bool background;
diff --git a/intern/cycles/util/util_half.h b/intern/cycles/util/util_half.h
index 8de62893ba8..3bac7008905 100644
--- a/intern/cycles/util/util_half.h
+++ b/intern/cycles/util/util_half.h
@@ -141,7 +141,7 @@ ccl_device_inline float4 half4_to_float4(half4 h)
ccl_device_inline half float_to_half(float f)
{
const uint u = __float_as_uint(f);
- /* Sign bit, shifted to it's position. */
+ /* Sign bit, shifted to its position. */
uint sign_bit = u & 0x80000000;
sign_bit >>= 16;
/* Exponent. */
diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h
index 63018a9cee8..61ddae47292 100644
--- a/intern/ghost/GHOST_ISystem.h
+++ b/intern/ghost/GHOST_ISystem.h
@@ -51,7 +51,7 @@ class GHOST_IEventConsumer;
* Blender.
* <br><br>
* Enough history. What does GHOST have to offer?<br>
- * In short: everything that Blender needed from GLUT to run on all it's supported
+ * In short: everything that Blender needed from GLUT to run on all its supported
* operating systems and some extra's.
* This includes :
*
diff --git a/intern/iksolver/intern/IK_QJacobian.h b/intern/iksolver/intern/IK_QJacobian.h
index 1b18107fb67..8d4a8a7ba65 100644
--- a/intern/iksolver/intern/IK_QJacobian.h
+++ b/intern/iksolver/intern/IK_QJacobian.h
@@ -60,7 +60,7 @@ class IK_QJacobian {
int m_dof, m_task_size;
bool m_transpose;
- // the jacobian matrix and it's null space projector
+ // the jacobian matrix and its null space projector
MatrixXd m_jacobian, m_jacobian_tmp;
MatrixXd m_nullspace;
diff --git a/intern/libmv/libmv/simple_pipeline/bundle.cc b/intern/libmv/libmv/simple_pipeline/bundle.cc
index ffe85c9d0c2..d06942c230b 100644
--- a/intern/libmv/libmv/simple_pipeline/bundle.cc
+++ b/intern/libmv/libmv/simple_pipeline/bundle.cc
@@ -228,7 +228,7 @@ void NormalizedToImageSpace(const T* const intrinsics_block,
}
// Cost functor which computes reprojection error of 3D point X on camera
-// defined by angle-axis rotation and it's translation (which are in the same
+// defined by angle-axis rotation and its translation (which are in the same
// block due to optimization reasons).
//
// This functor can only be used for distortion models which have analytically
@@ -287,7 +287,7 @@ struct ReprojectionErrorApplyIntrinsics {
};
// Cost functor which computes reprojection error of 3D point X on camera
-// defined by angle-axis rotation and it's translation (which are in the same
+// defined by angle-axis rotation and its translation (which are in the same
// block due to optimization reasons).
//
// This functor can only be used for distortion models which have analytically
diff --git a/intern/libmv/libmv/simple_pipeline/modal_solver.cc b/intern/libmv/libmv/simple_pipeline/modal_solver.cc
index f801518271c..687c328b004 100644
--- a/intern/libmv/libmv/simple_pipeline/modal_solver.cc
+++ b/intern/libmv/libmv/simple_pipeline/modal_solver.cc
@@ -240,7 +240,7 @@ void ModalSolver(const Tracks &tracks,
if (marker.image == image) {
// New track appeared on this image,
- // project it's position onto sphere.
+ // project its position onto sphere.
LG << "Projecting track " << track << " at image " << image;
diff --git a/intern/mikktspace/mikktspace.c b/intern/mikktspace/mikktspace.c
index 9fe2c0a815e..17cd997f451 100644
--- a/intern/mikktspace/mikktspace.c
+++ b/intern/mikktspace/mikktspace.c
@@ -1076,7 +1076,7 @@ static tbool AssignRecur(const int piTriListIn[],
return TFALSE;
if ((pMyTriInfo->iFlag & GROUP_WITH_ANY) != 0) {
// first to group with a group-with-anything triangle
- // determines it's orientation.
+ // determines its orientation.
// This is the only existing order dependency in the code!!
if (pMyTriInfo->AssignedGroup[0] == NULL && pMyTriInfo->AssignedGroup[1] == NULL &&
pMyTriInfo->AssignedGroup[2] == NULL) {
diff --git a/intern/opencolorio/ocio_impl_glsl.cc b/intern/opencolorio/ocio_impl_glsl.cc
index a23d90a9ce9..0213646345c 100644
--- a/intern/opencolorio/ocio_impl_glsl.cc
+++ b/intern/opencolorio/ocio_impl_glsl.cc
@@ -471,7 +471,7 @@ bool OCIOImpl::supportGLSLDraw()
* using regular 2D texture.
*
* When all drawing is finished, finishGLSLDraw shall be called to
- * restore OpenGL context to it's pre-GLSL draw state.
+ * restore OpenGL context to its pre-GLSL draw state.
*/
bool OCIOImpl::setupGLSLDraw(OCIO_GLSLDrawState **state_r,
OCIO_ConstProcessorRcPtr *ocio_processor_scene_to_ui,
diff --git a/intern/opensubdiv/internal/topology/topology_refiner_factory.cc b/intern/opensubdiv/internal/topology/topology_refiner_factory.cc
index 877c62b83ac..deab5f0644f 100644
--- a/intern/opensubdiv/internal/topology/topology_refiner_factory.cc
+++ b/intern/opensubdiv/internal/topology/topology_refiner_factory.cc
@@ -250,7 +250,7 @@ inline bool TopologyRefinerFactory<TopologyRefinerData>::assignComponentTags(
base_mesh_topology->setVertexSharpness(vertex_index, sharpness);
}
- // If it's vertex where 2 non-manifold edges meet adjust vertex sharpness to
+ // If its vertex where 2 non-manifold edges meet adjust vertex sharpness to
// the edges.
// This way having a plane with all 4 edges set to be sharp produces sharp
// corners in the subdivided result.
diff --git a/intern/opensubdiv/opensubdiv_converter_capi.h b/intern/opensubdiv/opensubdiv_converter_capi.h
index 2f3850665c2..6f914a20bf5 100644
--- a/intern/opensubdiv/opensubdiv_converter_capi.h
+++ b/intern/opensubdiv/opensubdiv_converter_capi.h
@@ -107,7 +107,7 @@ typedef struct OpenSubdiv_Converter {
bool (*isInfiniteSharpVertex)(const struct OpenSubdiv_Converter *converter,
const int vertex_index);
- // If vertex is not infinitely sharp, this is it's actual sharpness.
+ // If vertex is not infinitely sharp, this is its actual sharpness.
float (*getVertexSharpness)(const struct OpenSubdiv_Converter *converter,
const int vertex_index);
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h
index c824ed03ee6..b517ecfa599 100644
--- a/source/blender/blenkernel/BKE_DerivedMesh.h
+++ b/source/blender/blenkernel/BKE_DerivedMesh.h
@@ -38,7 +38,7 @@
* per-element attributes and interpolate them (e.g. uvs, vcols, vgroups, etc).
*
* Mesh is the "serialized" structure, used for storing object-mode mesh data
- * and also for saving stuff to disk. It's interfaces are also what DerivedMesh
+ * and also for saving stuff to disk. Its interfaces are also what DerivedMesh
* uses to communicate with.
*
* CDDM is a little mesh library, that uses Mesh data structures in the backend.
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h
index 2007d150c6a..e812d04c7d1 100644
--- a/source/blender/blenkernel/BKE_animsys.h
+++ b/source/blender/blenkernel/BKE_animsys.h
@@ -174,7 +174,7 @@ typedef struct AnimationBasePathChange {
const char *dst_basepath;
} AnimationBasePathChange;
-/* Move animation data from src to destination if it's paths are based on basepaths */
+/* Move animation data from src to destination if its paths are based on basepaths */
void BKE_animdata_transfer_by_basepath(struct Main *bmain,
struct ID *srcID,
struct ID *dstID,
diff --git a/source/blender/blenkernel/BKE_editmesh.h b/source/blender/blenkernel/BKE_editmesh.h
index 6febbb4e136..0c84ad70845 100644
--- a/source/blender/blenkernel/BKE_editmesh.h
+++ b/source/blender/blenkernel/BKE_editmesh.h
@@ -45,7 +45,7 @@ struct Scene;
* This structure is used for mesh edit-mode.
*
* through this, you get access to both the edit #BMesh,
- * it's tessellation, and various stuff that doesn't belong in the BMesh
+ * its tessellation, and various stuff that doesn't belong in the BMesh
* struct itself.
*
* the entire derivedmesh and modifier system works with this structure,
diff --git a/source/blender/blenkernel/BKE_main.h b/source/blender/blenkernel/BKE_main.h
index 0ccd246aaf4..a0535c91905 100644
--- a/source/blender/blenkernel/BKE_main.h
+++ b/source/blender/blenkernel/BKE_main.h
@@ -94,7 +94,7 @@ typedef struct Main {
/** All current ID's exist in the last memfile undo step. */
char is_memfile_undo_written;
/**
- * An ID needs it's data to be flushed back.
+ * An ID needs its data to be flushed back.
* use "needs_flush_to_id" in edit data to flag data which needs updating.
*/
char is_memfile_undo_flush_needed;
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);
diff --git a/source/blender/blenlib/intern/BLI_ghash.c b/source/blender/blenlib/intern/BLI_ghash.c
index 69602cd4209..82eac7e0b33 100644
--- a/source/blender/blenlib/intern/BLI_ghash.c
+++ b/source/blender/blenlib/intern/BLI_ghash.c
@@ -774,7 +774,7 @@ bool BLI_ghash_reinsert(
/**
* Replaces the key of an item in the \a gh.
*
- * Use when a key is re-allocated or it's memory location is changed.
+ * Use when a key is re-allocated or its memory location is changed.
*
* \returns The previous key or NULL if not found, the caller may free if it's needed.
*/
diff --git a/source/blender/blenlib/intern/BLI_ghash_utils.c b/source/blender/blenlib/intern/BLI_ghash_utils.c
index 9323ec46d5b..83f64043cd0 100644
--- a/source/blender/blenlib/intern/BLI_ghash_utils.c
+++ b/source/blender/blenlib/intern/BLI_ghash_utils.c
@@ -21,7 +21,7 @@
* \ingroup bli
*
* Helper functions and implementations of standard data types for #GHash
- * (not it's implementation).
+ * (not its implementation).
*/
#include <string.h>
diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c
index c39d8a05d08..d20f0ce49d0 100644
--- a/source/blender/blenlib/intern/BLI_heap.c
+++ b/source/blender/blenlib/intern/BLI_heap.c
@@ -330,7 +330,7 @@ float BLI_heap_top_value(const Heap *heap)
}
/**
- * Pop the top node off the heap and return it's pointer.
+ * Pop the top node off the heap and return its pointer.
*/
void *BLI_heap_pop_min(Heap *heap)
{
diff --git a/source/blender/blenlib/intern/BLI_heap_simple.c b/source/blender/blenlib/intern/BLI_heap_simple.c
index a7a71512875..c075a2f8643 100644
--- a/source/blender/blenlib/intern/BLI_heap_simple.c
+++ b/source/blender/blenlib/intern/BLI_heap_simple.c
@@ -225,7 +225,7 @@ float BLI_heapsimple_top_value(const HeapSimple *heap)
}
/**
- * Pop the top node off the heap and return it's pointer.
+ * Pop the top node off the heap and return its pointer.
*/
void *BLI_heapsimple_pop_min(HeapSimple *heap)
{
diff --git a/source/blender/blenlib/intern/kdtree_impl.h b/source/blender/blenlib/intern/kdtree_impl.h
index 58261e4f6aa..26b2228cdbc 100644
--- a/source/blender/blenlib/intern/kdtree_impl.h
+++ b/source/blender/blenlib/intern/kdtree_impl.h
@@ -878,7 +878,7 @@ static void deduplicate_recursive(const struct DeDuplicateParams *p, uint i)
* the iteration order.
* \param duplicates: An array of int's the length of #KDTree.nodes_len
* Values initialized to -1 are candidates to me merged.
- * Setting the index to it's own position in the array prevents it from being touched,
+ * Setting the index to its own position in the array prevents it from being touched,
* although it can still be used as a target.
* \returns The number of merges found (includes any merges already in the \a duplicates array).
*
diff --git a/source/blender/blenlib/intern/listbase.c b/source/blender/blenlib/intern/listbase.c
index acb18d0e53e..1b16f6b0aee 100644
--- a/source/blender/blenlib/intern/listbase.c
+++ b/source/blender/blenlib/intern/listbase.c
@@ -432,7 +432,7 @@ void BLI_insertlinkbefore(ListBase *listbase, void *vnextlink, void *vnewlink)
}
/**
- * Insert a link in place of another, without changing it's position in the list.
+ * Insert a link in place of another, without changing its position in the list.
*
* Puts `vnewlink` in the position of `vreplacelink`, removing `vreplacelink`.
* - `vreplacelink` *must* be in the list.
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c
index 8ca84d9c582..01a6a12066d 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -4474,7 +4474,7 @@ void interp_cubic_v3(float x[3],
*
* Compute coordinates (u, v) for point \a st with respect to triangle (\a st0, \a st1, \a st2)
*
- * \note same basic result as #barycentric_weights_v2, see it's comment for details.
+ * \note same basic result as #barycentric_weights_v2, see its comment for details.
*/
void resolve_tri_uv_v2(
float r_uv[2], const float st[2], const float st0[2], const float st1[2], const float st2[2])
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 17d9a6d89f0..4955fbb8300 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -4495,7 +4495,7 @@ static void lib_link_scene(BlendLibReader *reader, Scene *sce)
}
}
- /* rigidbody world relies on it's linked collections */
+ /* rigidbody world relies on its linked collections */
if (sce->rigidbody_world) {
RigidBodyWorld *rbw = sce->rigidbody_world;
if (rbw->group) {
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index 9ae02a41759..48a24755250 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -615,7 +615,7 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
* when painting we want to use full color/weight always.
*
* Note that sculpt is an exception,
- * it's values are overwritten by #BKE_brush_sculpt_reset below. */
+ * its values are overwritten by #BKE_brush_sculpt_reset below. */
brush->alpha = 1.0;
/* Enable antialiasing by default */
diff --git a/source/blender/bmesh/bmesh.h b/source/blender/bmesh/bmesh.h
index 22f7d50c144..5d2f739651b 100644
--- a/source/blender/bmesh/bmesh.h
+++ b/source/blender/bmesh/bmesh.h
@@ -120,7 +120,7 @@
* which are private to an operator.
* These flags may be used by the client operator code as needed
* (a common example is flagging elements for use in another operator).
- * Each call to an operator allocates it's own set of tool flags when it's executed,
+ * Each call to an operator allocates its own set of tool flags when it's executed,
* avoiding flag conflicts between operators.
*
* These flags should not be confused with header flags, which are used to store persistent flags
diff --git a/source/blender/bmesh/intern/bmesh_construct.c b/source/blender/bmesh/intern/bmesh_construct.c
index 4c70be65bef..2e69c48708c 100644
--- a/source/blender/bmesh/intern/bmesh_construct.c
+++ b/source/blender/bmesh/intern/bmesh_construct.c
@@ -99,7 +99,7 @@ static void bm_loop_attrs_copy(
* If \a no_double is true, then a check is done to see if a face
* with these vertices already exists and returns it instead.
*
- * If a pointer to an example face is provided, it's custom data
+ * If a pointer to an example face is provided, its custom data
* and properties will be copied to the new face.
*
* \note The winding of the face is determined by the order
diff --git a/source/blender/bmesh/intern/bmesh_log.c b/source/blender/bmesh/intern/bmesh_log.c
index 69d73f3d647..40eed6238ca 100644
--- a/source/blender/bmesh/intern/bmesh_log.c
+++ b/source/blender/bmesh/intern/bmesh_log.c
@@ -815,7 +815,7 @@ void BM_log_redo(BMesh *bm, BMLog *log)
/* Log a vertex before it is modified
*
* Before modifying vertex coordinates, masks, or hflags, call this
- * function to log it's current values. This is better than logging
+ * function to log its current values. This is better than logging
* after the coordinates have been modified, because only those
* vertices that are modified need to have their original values
* stored.
diff --git a/source/blender/bmesh/intern/bmesh_operators.c b/source/blender/bmesh/intern/bmesh_operators.c
index 746e9668671..c5e030c436a 100644
--- a/source/blender/bmesh/intern/bmesh_operators.c
+++ b/source/blender/bmesh/intern/bmesh_operators.c
@@ -368,7 +368,7 @@ void _bmo_slot_copy(BMOpSlot slot_args_src[BMO_OP_MAX_SLOTS],
/*
* BMESH OPSTACK SET XXX
*
- * Sets the value of a slot depending on it's type
+ * Sets the value of a slot depending on its type
*/
void BMO_slot_float_set(BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_name, const float f)
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index 06bab8c8cc1..4ae2cc67140 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -667,7 +667,7 @@ void BM_face_calc_center_median_weighted(const BMFace *f, float r_cent[3])
/**
* \brief POLY ROTATE PLANE
*
- * Rotates a polygon so that it's
+ * Rotates a polygon so that its
* normal is pointing towards the mesh Z axis
*/
void poly_rotate_plane(const float normal[3], float (*verts)[3], const uint nverts)
@@ -889,7 +889,7 @@ float BM_face_calc_normal_vcos(const BMesh *bm,
* Calculate a normal from a vertex cloud.
*
* \note We could make a higher quality version that takes all vertices into account.
- * Currently it finds 4 outer most points returning it's normal.
+ * Currently it finds 4 outer most points returning its normal.
*/
void BM_verts_calc_normal_from_cloud_ex(
BMVert **varr, int varr_len, float r_normal[3], float r_center[3], int *r_index_tangent)
diff --git a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c
index b92e431c86c..54dc25ebeba 100644
--- a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c
+++ b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c
@@ -521,7 +521,7 @@ bool BM_face_split_edgenet(BMesh *bm,
/* Note: 'VERT_IN_QUEUE' is often not needed at all,
* however in rare cases verts are added multiple times to the queue,
- * that on it's own is harmless but in _very_ rare cases,
+ * that on its own is harmless but in _very_ rare cases,
* the queue will overflow its maximum size,
* so we better be strict about this! see: T51539 */
diff --git a/source/blender/bmesh/intern/bmesh_walkers.c b/source/blender/bmesh/intern/bmesh_walkers.c
index 860c83ec1e5..da1d3df2046 100644
--- a/source/blender/bmesh/intern/bmesh_walkers.c
+++ b/source/blender/bmesh/intern/bmesh_walkers.c
@@ -39,7 +39,7 @@
* to implement recursive or looping behavior. generally only one
* state push per call with a specific state is desired.
*
- * basic design pattern: the walker step function goes through it's
+ * basic design pattern: the walker step function goes through its
* list of possible choices for recursion, and recurses (by pushing a new state)
* using the first non-visited one. This choice is the flagged as visited using
* the ghash. each step may push multiple new states onto the worklist at once.
diff --git a/source/blender/bmesh/operators/bmo_edgenet.c b/source/blender/bmesh/operators/bmo_edgenet.c
index 0f6ef1cb019..53a2a3b2bba 100644
--- a/source/blender/bmesh/operators/bmo_edgenet.c
+++ b/source/blender/bmesh/operators/bmo_edgenet.c
@@ -117,7 +117,7 @@ void bmo_edgenet_prepare_exec(BMesh *bm, BMOperator *op)
BMO_slot_buffer_flag_enable(bm, op->slots_in, "edges", BM_EDGE, EDGE_MARK);
/* validate that each edge has at most one other tagged edge in the
- * disk cycle around each of it's vertices */
+ * disk cycle around each of its vertices */
BMO_ITER (e, &siter, op->slots_in, "edges", BM_EDGE) {
for (i = 0; i < 2; i++) {
count = BMO_iter_elem_count_flag(bm, BM_EDGES_OF_VERT, (i ? e->v2 : e->v1), EDGE_MARK, true);
diff --git a/source/blender/bmesh/operators/bmo_rotate_edges.c b/source/blender/bmesh/operators/bmo_rotate_edges.c
index 0c7c13610e6..b684aa390cf 100644
--- a/source/blender/bmesh/operators/bmo_rotate_edges.c
+++ b/source/blender/bmesh/operators/bmo_rotate_edges.c
@@ -33,7 +33,7 @@
#define FACE_MARK 1
/**
- * Rotate edges where every edge has it's own faces (we can rotate in any order).
+ * Rotate edges where every edge has its own faces (we can rotate in any order).
*/
static void bm_rotate_edges_simple(BMesh *bm,
BMOperator *op,
diff --git a/source/blender/bmesh/tools/bmesh_decimate_collapse.c b/source/blender/bmesh/tools/bmesh_decimate_collapse.c
index 7900aba0086..3ef5b42b2cd 100644
--- a/source/blender/bmesh/tools/bmesh_decimate_collapse.c
+++ b/source/blender/bmesh/tools/bmesh_decimate_collapse.c
@@ -137,7 +137,7 @@ static void bm_decim_build_quadrics(BMesh *bm, Quadric *vquadrics)
static void bm_decim_calc_target_co_db(BMEdge *e, double optimize_co[3], const Quadric *vquadrics)
{
/* compute an edge contraction target for edge 'e'
- * this is computed by summing it's vertices quadrics and
+ * this is computed by summing its vertices quadrics and
* optimizing the result. */
Quadric q;
diff --git a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
index 675a402de6f..571061c8c0e 100644
--- a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
+++ b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
@@ -1029,7 +1029,7 @@ static void do_createEdgeLocationBuffer(unsigned int t,
/* set the accumulators to correct positions */ // set up some accumulator variables for loops
gradientAccum = gradientFillOffset; // each accumulator variable starts at its respective
innerAccum = *innerEdgeOffset; // section's offset so when we start filling, each
- outerAccum = *outerEdgeOffset; // section fills up it's allocated space in gbuf
+ outerAccum = *outerEdgeOffset; // section fills up its allocated space in gbuf
// uses dmin=row, rsl=col
for (x = 0, dmin = 0; x < t; x += rw, dmin++) {
for (rsl = 0; rsl < rw; rsl++) {
diff --git a/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp b/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp
index 0087c720ac0..acc1dddacdd 100644
--- a/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp
+++ b/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp
@@ -25,7 +25,7 @@
typedef float fREAL;
-// returns next highest power of 2 of x, as well it's log2 in L2
+// returns next highest power of 2 of x, as well its log2 in L2
static unsigned int nextPow2(unsigned int x, unsigned int *L2)
{
unsigned int pw, x_notpow2 = x & (x - 1);
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index c0630cd47c6..5d3dc1c859e 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -2869,7 +2869,7 @@ void DepsgraphRelationBuilder::build_copy_on_write_relations(IDNode *id_node)
/* NOTE: We currently ignore implicit relations to an external
* data-blocks for copy-on-write operations. This means, for example,
* copy-on-write component of Object will not wait for copy-on-write
- * component of it's Mesh. This is because pointers are all known
+ * component of its Mesh. This is because pointers are all known
* already so remapping will happen all correct. And then If some object
* evaluation step needs geometry, it will have transitive dependency
* to Mesh copy-on-write already. */
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
index b695c43402f..4c765152a2b 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
@@ -348,7 +348,7 @@ void DepsgraphRelationBuilder::build_rig(Object *object)
// root_map.print_debug();
if (pose_depends_on_local_transform) {
/* TODO(sergey): Once partial updates are possible use relation between
- * object transform and solver itself in it's build function. */
+ * object transform and solver itself in its build function. */
ComponentKey pose_key(&object->id, NodeType::EVAL_POSE);
ComponentKey local_transform_key(&object->id, NodeType::TRANSFORM);
add_relation(local_transform_key, pose_key, "Local Transforms");
@@ -477,7 +477,7 @@ void DepsgraphRelationBuilder::build_proxy_rig(Object *object)
add_relation(bone_ready_key, bone_done_key, "Ready -> Done");
add_relation(bone_done_key, pose_cleanup_key, "Bone Done -> Pose Cleanup");
add_relation(bone_done_key, pose_done_key, "Bone Done -> Pose Done", RELATION_FLAG_GODMODE);
- /* Make sure bone in the proxy is not done before it's FROM is done. */
+ /* Make sure bone in the proxy is not done before its FROM is done. */
if (check_pchan_has_bbone(object, pchan)) {
OperationKey from_bone_segments_key(
&proxy_from->id, NodeType::BONE, pchan->name, OperationCode::BONE_SEGMENTS);
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
index f1e1fbd28a1..0f3914c033b 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
@@ -766,7 +766,7 @@ void update_proxy_pointers_after_copy(const Depsgraph *depsgraph,
}
}
-/* Do some special treatment of data transfer from original ID to it's
+/* Do some special treatment of data transfer from original ID to its
* CoW complementary part.
*
* Only use for the newly created CoW data-blocks. */
diff --git a/source/blender/depsgraph/intern/node/deg_node.cc b/source/blender/depsgraph/intern/node/deg_node.cc
index b10e66336dc..87843006347 100644
--- a/source/blender/depsgraph/intern/node/deg_node.cc
+++ b/source/blender/depsgraph/intern/node/deg_node.cc
@@ -299,7 +299,7 @@ Node::~Node()
{
/* Free links. */
/* NOTE: We only free incoming links. This is to avoid double-free of links
- * when we're trying to free same link from both it's sides. We don't have
+ * when we're trying to free same link from both its sides. We don't have
* dangling links so this is not a problem from memory leaks point of view. */
for (Relation *rel : inlinks) {
delete rel;
diff --git a/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl b/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl
index 06a7def532f..22c306bb0fd 100644
--- a/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl
+++ b/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl
@@ -140,7 +140,7 @@ void prepare_raycast(vec3 ray_origin,
// #define GROUPED_FETCHES /* is still slower, need to see where is the bottleneck. */
/* Return the hit position, and negate the z component (making it positive) if not hit occurred. */
-/* __ray_dir__ is the ray direction premultiplied by it's maximum length */
+/* __ray_dir__ is the ray direction premultiplied by its maximum length */
vec3 raycast(int index,
vec3 ray_origin,
vec3 ray_dir,
diff --git a/source/blender/draw/engines/eevee/shaders/volumetric_geom.glsl b/source/blender/draw/engines/eevee/shaders/volumetric_geom.glsl
index 30cda401284..b2d8a383809 100644
--- a/source/blender/draw/engines/eevee/shaders/volumetric_geom.glsl
+++ b/source/blender/draw/engines/eevee/shaders/volumetric_geom.glsl
@@ -48,7 +48,7 @@ void main()
#else /* World */
/* This is just a pass-through geometry shader that send the geometry
- * to the layer corresponding to it's depth. */
+ * to the layer corresponding to its depth. */
void main()
{
diff --git a/source/blender/draw/engines/overlay/overlay_armature.c b/source/blender/draw/engines/overlay/overlay_armature.c
index 43575900f5d..cbd2589f20f 100644
--- a/source/blender/draw/engines/overlay/overlay_armature.c
+++ b/source/blender/draw/engines/overlay/overlay_armature.c
@@ -726,7 +726,7 @@ static void set_pchan_colorset(ArmatureDrawContext *ctx, Object *ob, bPoseChanne
/* only try to set custom color if enabled for armature */
if (arm->flag & ARM_COL_CUSTOM) {
- /* currently, a bone can only use a custom color set if it's group (if it has one),
+ /* currently, a bone can only use a custom color set if its group (if it has one),
* has been set to use one
*/
if (pchan->agrp_index) {
diff --git a/source/blender/draw/engines/workbench/workbench_effect_cavity.c b/source/blender/draw/engines/workbench/workbench_effect_cavity.c
index c9ac6660445..199abe8cb2b 100644
--- a/source/blender/draw/engines/workbench/workbench_effect_cavity.c
+++ b/source/blender/draw/engines/workbench/workbench_effect_cavity.c
@@ -74,7 +74,7 @@ static struct GPUTexture *create_jitter_texture(int num_samples)
/* This rotate the sample per pixels */
jitter[i][0] = cosf(phi);
jitter[i][1] = sinf(phi);
- /* This offset the sample along it's direction axis (reduce banding) */
+ /* This offset the sample along its direction axis (reduce banding) */
float bn = blue_noise[i][1] - 0.5f;
CLAMP(bn, -0.499f, 0.499f); /* fix fireflies */
jitter[i][2] = bn * num_samples_inv;
diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c
index 56f31a69396..5029e71cac8 100644
--- a/source/blender/draw/intern/draw_common.c
+++ b/source/blender/draw/intern/draw_common.c
@@ -293,7 +293,7 @@ DRWView *DRW_view_create_with_zoffset(const DRWView *parent_view,
/* TODO FINISH */
/**
- * Get the wire color theme_id of an object based on it's state
+ * Get the wire color theme_id of an object based on its state
* \a r_color is a way to get a pointer to the static color var associated
*/
int DRW_object_wire_theme_get(Object *ob, ViewLayer *view_layer, float **r_color)
diff --git a/source/blender/draw/intern/draw_instance_data.c b/source/blender/draw/intern/draw_instance_data.c
index f341d16838e..0654f949e52 100644
--- a/source/blender/draw/intern/draw_instance_data.c
+++ b/source/blender/draw/intern/draw_instance_data.c
@@ -105,7 +105,7 @@ static void instancing_batch_references_remove(GPUBatch *batch)
* This manager allows to distribute existing batches for instancing
* attributes. This reduce the number of batches creation.
* Querying a batch is done with a vertex format. This format should
- * be static so that it's pointer never changes (because we are using
+ * be static so that its pointer never changes (because we are using
* this pointer as identifier [we don't want to check the full format
* that would be too slow]).
*/
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index 7cf4cb87fc8..5dff62459ac 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -1397,7 +1397,7 @@ static size_t animfilter_act_group(bAnimContext *ac,
/* Care about selection status. */
(filter_mode & (ANIMFILTER_SEL | ANIMFILTER_UNSEL))) {
/* If the group itself isn't selected appropriately,
- * we shouldn't consider it's children either. */
+ * we shouldn't consider its children either. */
if (ANIMCHANNEL_SELOK(SEL_AGRP(agrp)) == 0) {
return 0;
}
@@ -1419,7 +1419,7 @@ static size_t animfilter_act_group(bAnimContext *ac,
/* special filter so that we can get just the F-Curves within the active group */
if (!(filter_mode & ANIMFILTER_ACTGROUPED) || (agrp->flag & AGRP_ACTIVE)) {
/* for the Graph Editor, curves may be set to not be visible in the view to lessen
- * clutter, but to do this, we need to check that the group doesn't have it's
+ * clutter, but to do this, we need to check that the group doesn't have its
* not-visible flag set preventing all its sub-curves to be shown
*/
if (!(filter_mode & ANIMFILTER_CURVE_VISIBLE) || !(agrp->flag & AGRP_NOTVISIBLE)) {
diff --git a/source/blender/editors/armature/armature_add.c b/source/blender/editors/armature/armature_add.c
index 4d31a5e786b..fde062b8454 100644
--- a/source/blender/editors/armature/armature_add.c
+++ b/source/blender/editors/armature/armature_add.c
@@ -386,7 +386,7 @@ static void updateDuplicateSubtarget(EditBone *dup_bone,
Object *ob,
bool lookup_mirror_subtarget)
{
- /* If an edit bone has been duplicated, lets update it's constraints if the
+ /* If an edit bone has been duplicated, lets update its constraints if the
* subtarget they point to has also been duplicated.
*/
EditBone *oldtarget, *newtarget;
@@ -812,7 +812,7 @@ static void updateDuplicateTransformConstraintSettings(Object *ob,
static void updateDuplicateConstraintSettings(EditBone *dup_bone, EditBone *orig_bone, Object *ob)
{
- /* If an edit bone has been duplicated, lets update it's constraints if the
+ /* If an edit bone has been duplicated, lets update its constraints if the
* subtarget they point to has also been duplicated.
*/
bPoseChannel *pchan;
diff --git a/source/blender/editors/armature/armature_select.c b/source/blender/editors/armature/armature_select.c
index c9bcd4f02e9..27718b61d70 100644
--- a/source/blender/editors/armature/armature_select.c
+++ b/source/blender/editors/armature/armature_select.c
@@ -418,7 +418,7 @@ static bool armature_select_linked_impl(Object *ob, const bool select, const boo
* Bones that have been touched are skipped, so the complexity is OK. */
enum {
- /* Bone has been walked over, it's LINK value can be read. */
+ /* Bone has been walked over, its LINK value can be read. */
TOUCH = (1 << 0),
/* When TOUCH has been set, this flag can be checked to see if the bone is connected. */
LINK = (1 << 1),
diff --git a/source/blender/editors/armature/pose_transform.c b/source/blender/editors/armature/pose_transform.c
index d3f11c5a16f..7ce0a5fb694 100644
--- a/source/blender/editors/armature/pose_transform.c
+++ b/source/blender/editors/armature/pose_transform.c
@@ -746,7 +746,7 @@ static int pose_copy_exec(bContext *C, wmOperator *op)
}
/* Sets chan->flag to POSE_KEY if bone selected. */
set_pose_keys(ob);
- /* Construct a local bmain and only put object and it's data into it,
+ /* Construct a local bmain and only put object and its data into it,
* o this way we don't expand any other objects into the copy buffer
* file.
*
@@ -767,7 +767,7 @@ static int pose_copy_exec(bContext *C, wmOperator *op)
/* begin copy buffer on a temp bmain. */
BKE_copybuffer_begin(temp_bmain);
/* Store the whole object to the copy buffer because pose can't be
- * existing on it's own.
+ * existing on its own.
*/
BKE_copybuffer_tag_ID(&ob_copy.id);
BLI_join_dirfile(str, sizeof(str), BKE_tempdir_base(), "copybuffer_pose.blend");
diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h
index 869be81ca43..12d6f1fce54 100644
--- a/source/blender/editors/include/ED_keyframing.h
+++ b/source/blender/editors/include/ED_keyframing.h
@@ -226,7 +226,7 @@ typedef enum eModifyKey_Returns {
MODIFYKEY_MISSING_TYPEINFO = -2,
} eModifyKey_Returns;
-/* poll the current KeyingSet, updating it's set of paths
+/* poll the current KeyingSet, updating its set of paths
* (if "builtin"/"relative") for context changes */
eModifyKey_Returns ANIM_validate_keyingset(struct bContext *C,
ListBase *dsources,
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index c2a4465af07..5005a41ada7 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -2879,7 +2879,7 @@ char *ui_but_string_get_dynamic(uiBut *but, int *r_str_size)
/**
* Report a generic error prefix when evaluating a string with #BPY_run_string_as_number
- * as the Python error on it's own doesn't provide enough context.
+ * as the Python error on its own doesn't provide enough context.
*/
#define UI_NUMBER_EVAL_ERROR_PREFIX IFACE_("Error evaluating number, see Info editor for details")
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index 48abc1f4d82..991531b4f0d 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -331,7 +331,7 @@ void UI_list_panel_unique_str(Panel *panel, char *r_name)
}
/**
- * Free a panel and it's children. Custom data is shared by the panel and its children
+ * Free a panel and its children. Custom data is shared by the panel and its children
* and is freed by #UI_panels_free_instanced.
*
* \note The only panels that should need to be deleted at runtime are panels with the
diff --git a/source/blender/editors/interface/interface_region_tooltip.c b/source/blender/editors/interface/interface_region_tooltip.c
index 2dc4d33f07e..5c3f00201a2 100644
--- a/source/blender/editors/interface/interface_region_tooltip.c
+++ b/source/blender/editors/interface/interface_region_tooltip.c
@@ -525,7 +525,7 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is
*
* - Direct access to the tool (as if the toolbar button is pressed).
* - The key is bound to a brush type (not the exact brush name).
- * - The key is assigned to the operator it's self
+ * - The key is assigned to the operator itself
* (bypassing the tool, executing the operator).
*
* Either way case it's useful to show the shortcut.
diff --git a/source/blender/editors/interface/interface_template_search_menu.c b/source/blender/editors/interface/interface_template_search_menu.c
index 5bde51846a8..14f97cb14a9 100644
--- a/source/blender/editors/interface/interface_template_search_menu.c
+++ b/source/blender/editors/interface/interface_template_search_menu.c
@@ -131,7 +131,7 @@ struct MenuSearch_Item {
} rna;
};
- /** Set when we need each menu item to be able to set it's own context. may be NULL. */
+ /** Set when we need each menu item to be able to set its own context. may be NULL. */
struct MenuSearch_Context *wm_context;
};
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 592738bdb3b..d4d24b3e3c2 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -2967,7 +2967,7 @@ static void rna_update_cb(bContext *C, void *arg_cb, void *UNUSED(arg))
RNAUpdateCb *cb = (RNAUpdateCb *)arg_cb;
/* we call update here on the pointer property, this way the
- * owner of the curve mapping can still define it's own update
+ * owner of the curve mapping can still define its own update
* and notifier, even if the CurveMapping struct is shared. */
RNA_property_update(C, &cb->ptr, cb->prop);
}
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index 68b804f5b28..49760b99d2e 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -390,7 +390,7 @@ static const uint g_shape_preset_hold_action_face[2][3] = {{2, 0, 1}, {3, 5, 4}}
*
* In order to speed up UI drawing we create some batches that are then
* modified by specialized shaders to draw certain elements really fast.
- * TODO: find a better place. Maybe it's own file?
+ * TODO: find a better place. Maybe its own file?
*
* \{ */
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c
index c9fe03dc599..25cc39bf9a0 100644
--- a/source/blender/editors/mask/mask_ops.c
+++ b/source/blender/editors/mask/mask_ops.c
@@ -1264,7 +1264,7 @@ void MASK_OT_slide_spline_curvature(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Slide Spline Curvature";
- ot->description = "Slide a point on the spline to define it's curvature";
+ ot->description = "Slide a point on the spline to define its curvature";
ot->idname = "MASK_OT_slide_spline_curvature";
/* api callbacks */
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 48405c7f534..91c9d3ed394 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -2687,8 +2687,8 @@ bool EDBM_selectmode_disable_multi(struct bContext *C,
*
* Overview of the algorithm:
* - Groups faces surrounded by edges with 3+ faces using them.
- * - Calculates a cost of each face group comparing it's angle with the faces
- * connected to it's non-manifold edges.
+ * - Calculates a cost of each face group comparing its angle with the faces
+ * connected to its non-manifold edges.
* - Mark the face group as interior, and mark connected face groups for recalculation.
* - Continue to remove the face groups with the highest 'cost'.
*
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c
index 2876670a8d2..25b1764e562 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex.c
@@ -2798,7 +2798,7 @@ static void do_vpaint_brush_calc_average_color_cb_ex(void *__restrict userdata,
const MVert *mv = &data->me->mvert[v_index];
if (!use_vert_sel || mv->flag & SELECT) {
accum->len += gmap->vert_to_loop[v_index].count;
- /* if a vertex is within the brush region, then add it's color to the blend. */
+ /* if a vertex is within the brush region, then add its color to the blend. */
for (int j = 0; j < gmap->vert_to_loop[v_index].count; j++) {
const int l_index = gmap->vert_to_loop[v_index].indices[j];
col = (char *)(&lcol[l_index]);
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 16b5d770fa2..5ef0b49adf7 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -8140,7 +8140,7 @@ static int ed_object_sculptmode_flush_recalc_flag(Scene *scene,
int flush_recalc = 0;
/* Multires in sculpt mode could have different from object mode subdivision level. */
flush_recalc |= mmd && mmd->sculptlvl != mmd->lvl;
- /* If object has got active modifiers, it's dm could be different in sculpt mode. */
+ /* If object has got active modifiers, its dm could be different in sculpt mode. */
flush_recalc |= sculpt_has_active_modifiers(scene, ob);
return flush_recalc;
}
@@ -8349,7 +8349,7 @@ static int sculpt_mode_toggle_exec(bContext *C, wmOperator *op)
if (ob->mode & mode_flag) {
Mesh *me = ob->data;
- /* Dyntopo add's it's own undo step. */
+ /* Dyntopo adds its own undo step. */
if ((me->flag & ME_SCULPT_DYNAMIC_TOPOLOGY) == 0) {
/* Without this the memfile undo step is used,
* while it works it causes lag when undoing the first undo step, see T71564. */
diff --git a/source/blender/editors/sculpt_paint/sculpt_detail.c b/source/blender/editors/sculpt_paint/sculpt_detail.c
index 69c92f2baeb..da51d3184b5 100644
--- a/source/blender/editors/sculpt_paint/sculpt_detail.c
+++ b/source/blender/editors/sculpt_paint/sculpt_detail.c
@@ -111,7 +111,7 @@ static int sculpt_detail_flood_fill_exec(bContext *C, wmOperator *UNUSED(op))
for (int i = 0; i < totnodes; i++) {
BKE_pbvh_node_mark_topology_update(nodes[i]);
}
- /* Get the bounding box, it's center and size. */
+ /* Get the bounding box, its center and size. */
BKE_pbvh_bounding_box(ob->sculpt->pbvh, bb_min, bb_max);
add_v3_v3v3(center, bb_min, bb_max);
mul_v3_fl(center, 0.5f);
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 6055f4e4c8b..f03a9631b0c 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -750,7 +750,7 @@ typedef struct SculptBrushTest {
/* For circle (not sphere) projection. */
float plane_view[4];
- /* Some tool code uses a plane for it's calculateions. */
+ /* Some tool code uses a plane for its calculations. */
float plane_tool[4];
/* View3d clipping - only set rv3d for clipping */
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c
index fa9eb43891c..f1410ffad1b 100644
--- a/source/blender/editors/sculpt_paint/sculpt_undo.c
+++ b/source/blender/editors/sculpt_paint/sculpt_undo.c
@@ -239,7 +239,7 @@ static bool sculpt_undo_restore_coords(bContext *C, Depsgraph *depsgraph, Sculpt
/* Propagate new coords to keyblock. */
SCULPT_vertcos_to_key(ob, ss->shapekey_active, vertCos);
- /* PBVH uses it's own mvert array, so coords should be */
+ /* PBVH uses its own mvert array, so coords should be */
/* propagated to PBVH here. */
BKE_pbvh_vert_coords_apply(ss->pbvh, vertCos, ss->shapekey_active->totelem);
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c
index 69b89d25a1a..ee9cc0e31df 100644
--- a/source/blender/editors/space_clip/clip_editor.c
+++ b/source/blender/editors/space_clip/clip_editor.c
@@ -685,7 +685,7 @@ void ED_space_clip_set_clip(bContext *C, bScreen *screen, SpaceClip *sc, MovieCl
}
}
- /* If clip is no longer visible on screen, free memory used by it's cache */
+ /* If clip is no longer visible on screen, free memory used by its cache */
if (old_clip && old_clip != clip && !old_clip_visible) {
BKE_movieclip_clear_cache(old_clip);
}
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 05fa7a6b587..0631b6ea8a0 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -598,7 +598,7 @@ MovieTrackingTrack *tracking_marker_check_slide(
*/
min_distance_squared = distance_squared;
- /* If search area is visible, check how close to it's sliding
+ /* If search area is visible, check how close to its sliding
* zones mouse is.
*/
if (sc->flag & SC_SHOW_MARKER_SEARCH) {
diff --git a/source/blender/editors/space_clip/tracking_select.c b/source/blender/editors/space_clip/tracking_select.c
index 08b95bd46c5..478d22c7582 100644
--- a/source/blender/editors/space_clip/tracking_select.c
+++ b/source/blender/editors/space_clip/tracking_select.c
@@ -165,7 +165,7 @@ static float dist_to_rect(const float co[2],
return sqrtf(min_ffff(d1, d2, d3, d4));
}
-/* Distance to quad defined by it's corners, corners are relative to pos */
+/* Distance to quad defined by its corners, corners are relative to pos */
static float dist_to_crns(const float co[2], const float pos[2], const float crns[4][2])
{
float d1, d2, d3, d4;
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c
index 0dcc090fa0e..15a4f910684 100644
--- a/source/blender/editors/space_image/image_buttons.c
+++ b/source/blender/editors/space_image/image_buttons.c
@@ -740,7 +740,7 @@ static void rna_update_cb(bContext *C, void *arg_cb, void *UNUSED(arg))
cb->iuser->ok = 1;
/* we call update here on the pointer property, this way the
- * owner of the image pointer can still define it's own update
+ * owner of the image pointer can still define its own update
* and notifier */
RNA_property_update(C, &cb->ptr, cb->prop);
}
diff --git a/source/blender/editors/space_info/info_stats.c b/source/blender/editors/space_info/info_stats.c
index b6eca8666a6..db8b6240558 100644
--- a/source/blender/editors/space_info/info_stats.c
+++ b/source/blender/editors/space_info/info_stats.c
@@ -252,7 +252,7 @@ static void stats_object_edit(Object *obedit, SceneStats *stats)
stats->totbonesel++;
}
- /* if this is a connected child and it's parent is being moved, remove our root */
+ /* if this is a connected child and its parent is being moved, remove our root */
if ((ebo->flag & BONE_CONNECTED) && (ebo->flag & BONE_ROOTSEL) && ebo->parent &&
(ebo->parent->flag & BONE_TIPSEL)) {
stats->totvertsel--;
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c
index 4d9a4fb2706..5e0ba506226 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -303,7 +303,7 @@ static bool textview_draw_string(TextViewDrawState *tds,
/**
* \param r_mval_pick_item: The resulting item clicked on using \a mval_init.
* Set from the void pointer which holds the current iterator.
- * It's type depends on the data being iterated over.
+ * Its type depends on the data being iterated over.
* \param r_mval_pick_offset: The offset in bytes of the \a mval_init.
* Use for selection.
*/
diff --git a/source/blender/editors/space_node/node_templates.c b/source/blender/editors/space_node/node_templates.c
index a7e2ad8fc1c..553971cd0a5 100644
--- a/source/blender/editors/space_node/node_templates.c
+++ b/source/blender/editors/space_node/node_templates.c
@@ -449,7 +449,7 @@ static bool ui_node_item_special_poll(const bNodeTree *UNUSED(ntree), const bNod
{
if (STREQ(ntype->idname, "ShaderNodeUVAlongStroke")) {
/* TODO(sergey): Currently we don't have Freestyle nodes edited from
- * the buttons context, so can ignore it's nodes completely.
+ * the buttons context, so can ignore its nodes completely.
*
* However, we might want to do some extra checks here later.
*/
diff --git a/source/blender/editors/space_outliner/outliner_utils.c b/source/blender/editors/space_outliner/outliner_utils.c
index c1551b5c584..86cc6672b0f 100644
--- a/source/blender/editors/space_outliner/outliner_utils.c
+++ b/source/blender/editors/space_outliner/outliner_utils.c
@@ -62,7 +62,7 @@ void outliner_viewcontext_init(const bContext *C, TreeViewContext *tvc)
tvc->ob_edit = OBEDIT_FROM_OBACT(tvc->obact);
if ((tvc->obact->type == OB_ARMATURE) ||
- /* This could be made into it's own function. */
+ /* This could be made into its own function. */
((tvc->obact->type == OB_MESH) && tvc->obact->mode & OB_MODE_WEIGHT_PAINT)) {
tvc->ob_pose = BKE_object_pose_armature_get(tvc->obact);
}
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 89d6d647ada..e9c5b003420 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -1609,7 +1609,7 @@ static void sequencer_draw_display_buffer(const bContext *C,
}
/* Format needs to be created prior to any #immBindShader call.
- * Do it here because OCIO binds it's own shader. */
+ * Do it here because OCIO binds its own shader. */
eGPUTextureFormat format;
eGPUDataFormat data;
bool glsl_used = false;
diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c
index 4e5949817f3..bb71a9b11be 100644
--- a/source/blender/editors/space_text/space_text.c
+++ b/source/blender/editors/space_text/space_text.c
@@ -117,7 +117,7 @@ static SpaceLink *text_duplicate(SpaceLink *sl)
/* clear or remove stuff from old */
- stextn->runtime.drawcache = NULL; /* space need it's own cache */
+ stextn->runtime.drawcache = NULL; /* space need its own cache */
return (SpaceLink *)stextn;
}
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 1f4c0dd9eb1..af03cddfbf5 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1531,7 +1531,7 @@ void view3d_draw_region_info(const bContext *C, ARegion *region)
else {
switch ((eUserpref_MiniAxisType)U.mini_axis_type) {
case USER_MINI_AXIS_TYPE_GIZMO:
- /* The gizmo handles it's own drawing. */
+ /* The gizmo handles its own drawing. */
break;
case USER_MINI_AXIS_TYPE_MINIMAL:
draw_view_axis(rv3d, rect);
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 65e4a8765bb..233967fa89d 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -842,7 +842,7 @@ static void viewrotate_apply(ViewOpsData *vod, const int event_xy[2])
* This works by blending two horizons:
* - Rotated-horizon: `cross_v3_v3v3(xaxis, zvec_global, m_inv[2])`
* When only this is used, this turntable rotation works - but it's side-ways
- * (as if the entire turn-table has been placed on it's side)
+ * (as if the entire turn-table has been placed on its side)
* While there is no gimble lock, it's also awkward to use.
* - Un-rotated-horizon: `m_inv[0]`
* When only this is used, the turntable rotation can have gimbal lock.
@@ -2763,7 +2763,7 @@ void VIEW3D_OT_dolly(wmOperatorType *ot)
/* -------------------------------------------------------------------- */
/** \name View All Operator
*
- * Move & Zoom the view to fit all of it's contents.
+ * Move & Zoom the view to fit all of its contents.
* \{ */
static bool view3d_object_skip_minmax(const View3D *v3d,
diff --git a/source/blender/editors/space_view3d/view3d_placement.c b/source/blender/editors/space_view3d/view3d_placement.c
index 6c2f4df7004..176fc641085 100644
--- a/source/blender/editors/space_view3d/view3d_placement.c
+++ b/source/blender/editors/space_view3d/view3d_placement.c
@@ -1150,7 +1150,7 @@ void VIEW3D_OT_interactive_add(struct wmOperatorType *ot)
ot->cancel = view3d_interactive_add_cancel;
ot->poll = view3d_interactive_add_poll;
- /* Note, let the operator we call handle undo and registering it's self. */
+ /* Note, let the operator we call handle undo and registering itself. */
/* flags */
ot->flag = 0;
diff --git a/source/blender/editors/space_view3d/view3d_utils.c b/source/blender/editors/space_view3d/view3d_utils.c
index dcb3179a46d..631994c9b85 100644
--- a/source/blender/editors/space_view3d/view3d_utils.c
+++ b/source/blender/editors/space_view3d/view3d_utils.c
@@ -1112,7 +1112,7 @@ bool ED_view3d_autodist_depth_seg(
/* -------------------------------------------------------------------- */
/** \name View Radius/Distance Utilities
*
- * Use to calculate a distance to a point based on it's radius.
+ * Use to calculate a distance to a point based on its radius.
* \{ */
float ED_view3d_radius_to_dist_persp(const float angle, const float radius)
diff --git a/source/blender/editors/transform/transform_gizmo_2d.c b/source/blender/editors/transform/transform_gizmo_2d.c
index 11cde6a9038..c40f3d3f140 100644
--- a/source/blender/editors/transform/transform_gizmo_2d.c
+++ b/source/blender/editors/transform/transform_gizmo_2d.c
@@ -121,7 +121,7 @@ static void gizmo2d_pivot_point_message_subscribe(struct wmGizmoGroup *gzgroup,
/* -------------------------------------------------------------------- */
/** \name Arrow / Cage Gizmo Group
*
- * Defines public functions, not the gizmo it's self:
+ * Defines public functions, not the gizmo itself:
*
* - #ED_widgetgroup_gizmo2d_xform_callbacks_set
* - #ED_widgetgroup_gizmo2d_xform_no_cage_callbacks_set
@@ -530,7 +530,7 @@ void ED_widgetgroup_gizmo2d_xform_no_cage_callbacks_set(wmGizmoGroupType *gzgt)
/* -------------------------------------------------------------------- */
/** \name Scale Handles
*
- * Defines public functions, not the gizmo it's self:
+ * Defines public functions, not the gizmo itself:
*
* - #ED_widgetgroup_gizmo2d_resize_callbacks_set
*
@@ -686,7 +686,7 @@ void ED_widgetgroup_gizmo2d_resize_callbacks_set(wmGizmoGroupType *gzgt)
/* -------------------------------------------------------------------- */
/** \name Rotate Handles
*
- * Defines public functions, not the gizmo it's self:
+ * Defines public functions, not the gizmo itself:
*
* - #ED_widgetgroup_gizmo2d_rotate_setup
*
diff --git a/source/blender/editors/undo/ed_undo.c b/source/blender/editors/undo/ed_undo.c
index ee33cb04295..47d60cff0f9 100644
--- a/source/blender/editors/undo/ed_undo.c
+++ b/source/blender/editors/undo/ed_undo.c
@@ -364,7 +364,7 @@ bool ED_undo_is_legacy_compatible_for_property(struct bContext *C, ID *id)
if (obact != NULL) {
if (obact->mode & OB_MODE_ALL_PAINT) {
/* Don't store property changes when painting
- * (only do undo pushes on brush strokes which each paint operator handles on it's own). */
+ * (only do undo pushes on brush strokes which each paint operator handles on its own). */
CLOG_INFO(&LOG, 1, "skipping undo for paint-mode");
return false;
}
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.h b/source/blender/editors/uvedit/uvedit_parametrizer.h
index 0de792cb915..833302d7da6 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.h
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.h
@@ -66,7 +66,7 @@ void param_delete(ParamHandle *handle);
* -----------------------------
* - charts with less than two pinned vertices are assigned 2 pins
* - lscm is divided in three steps:
- * - begin: compute matrix and it's factorization (expensive)
+ * - begin: compute matrix and its factorization (expensive)
* - solve using pinned coordinates (cheap)
* - end: clean up
* - uv coordinates are allowed to change within begin/end, for
diff --git a/source/blender/editors/uvedit/uvedit_rip.c b/source/blender/editors/uvedit/uvedit_rip.c
index 421e58b1cb5..4da1edea8b4 100644
--- a/source/blender/editors/uvedit/uvedit_rip.c
+++ b/source/blender/editors/uvedit/uvedit_rip.c
@@ -73,7 +73,7 @@ typedef struct ULData {
* around the connected fan are attached to an edge.
*
* In this case there is no need to detect contiguous loops,
- * each isolated case is handled on it's own, no need to walk over selected edges.
+ * each isolated case is handled on its own, no need to walk over selected edges.
*
* \note This flag isn't flushed to other loops which could also have this enabled.
* Currently it's not necessary since we can start off on any one of these loops,
diff --git a/source/blender/functions/FN_array_spans.hh b/source/blender/functions/FN_array_spans.hh
index 976b9a44d3e..afcff944957 100644
--- a/source/blender/functions/FN_array_spans.hh
+++ b/source/blender/functions/FN_array_spans.hh
@@ -20,7 +20,7 @@
* \ingroup fn
*
* An ArraySpan is a span where every element contains an array (instead of a single element as is
- * the case in a normal span). It's main use case is to reference many small arrays.
+ * the case in a normal span). Its main use case is to reference many small arrays.
*/
#include "FN_spans.hh"
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h
index e5f36c1ae46..6f183cd344c 100644
--- a/source/blender/gpu/GPU_batch.h
+++ b/source/blender/gpu/GPU_batch.h
@@ -55,7 +55,7 @@ typedef enum eGPUBatchFlag {
/** Has been initialized. At least one VBO is set. */
GPU_BATCH_INIT = (1 << 16),
- /** Batch is initialized but it's VBOs are still being populated. (optional) */
+ /** Batch is initialized but its VBOs are still being populated. (optional) */
GPU_BATCH_BUILDING = (1 << 16),
/** Cached data need to be rebuild. (VAO, PSO, ...) */
GPU_BATCH_DIRTY = (1 << 17),
diff --git a/source/blender/gpu/opengl/gl_framebuffer.hh b/source/blender/gpu/opengl/gl_framebuffer.hh
index 33c1cd0befa..cf159a60b01 100644
--- a/source/blender/gpu/opengl/gl_framebuffer.hh
+++ b/source/blender/gpu/opengl/gl_framebuffer.hh
@@ -53,7 +53,7 @@ class GLFrameBuffer : public FrameBuffer {
GLenum gl_attachments_[GPU_FB_MAX_COLOR_ATTACHMENT];
/** Internal framebuffers are immutable. */
bool immutable_;
- /** True is the framebuffer has it's first color target using the GPU_SRGB8_A8 format. */
+ /** True is the framebuffer has its first color target using the GPU_SRGB8_A8 format. */
bool srgb_;
/** True is the framebuffer has been bound using the GL_FRAMEBUFFER_SRGB feature. */
bool enabled_srgb_ = false;
diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c
index 00dbd539410..8005049eab2 100644
--- a/source/blender/imbuf/intern/colormanagement.c
+++ b/source/blender/imbuf/intern/colormanagement.c
@@ -1620,7 +1620,7 @@ static void display_buffer_apply_get_linear_buffer(DisplayBufferThread *handle,
}
else if (handle->float_colorspace) {
/* currently float is non-linear only in sequencer, which is working
- * in it's own color space even to handle float buffers.
+ * in its own color space even to handle float buffers.
* This color space is the same for byte and float images.
* Need to convert float buffer to linear space before applying display transform
*/
diff --git a/source/blender/imbuf/intern/readimage.c b/source/blender/imbuf/intern/readimage.c
index 7be2bc48a4d..8b322eaf052 100644
--- a/source/blender/imbuf/intern/readimage.c
+++ b/source/blender/imbuf/intern/readimage.c
@@ -52,7 +52,7 @@ static void imb_handle_alpha(ImBuf *ibuf,
if (colorspace) {
if (ibuf->rect != NULL && ibuf->rect_float == NULL) {
/* byte buffer is never internally converted to some standard space,
- * store pointer to it's color space descriptor instead
+ * store pointer to its color space descriptor instead
*/
ibuf->rect_colorspace = colormanage_colorspace_get_named(effective_colorspace);
}
diff --git a/source/blender/io/collada/ArmatureExporter.cpp b/source/blender/io/collada/ArmatureExporter.cpp
index ed043096c7e..6aeffd22bbd 100644
--- a/source/blender/io/collada/ArmatureExporter.cpp
+++ b/source/blender/io/collada/ArmatureExporter.cpp
@@ -211,7 +211,7 @@ void ArmatureExporter::add_bone_node(Bone *bone,
/* Add bone tail- translation... don't know why
* bone parenting is against the tail of a bone
- * and not it's head, seems arbitrary. */
+ * and not its head, seems arbitrary. */
ob->parentinv[3][1] += bone->length;
/* OPEN_SIM_COMPATIBILITY
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 23a8927a0e0..2668b3eb6ca 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -628,7 +628,7 @@ typedef enum IDRecalcFlag {
/* ** Object geometry changed. **
*
- * When object of armature type gets tagged with this flag, it's pose is
+ * When object of armature type gets tagged with this flag, its pose is
* re-evaluated.
* When object of other type is tagged with this flag it makes the modifier
* stack to be re-evaluated.
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h
index 1a74166da31..9a31447dacd 100644
--- a/source/blender/makesdna/DNA_anim_types.h
+++ b/source/blender/makesdna/DNA_anim_types.h
@@ -263,7 +263,7 @@ typedef struct FMod_Noise {
/* modification modes */
typedef enum eFMod_Noise_Modifications {
- /** Modify existing curve, matching it's shape. */
+ /** Modify existing curve, matching its shape. */
FCM_NOISE_MODIF_REPLACE = 0,
/** Add noise to the curve. */
FCM_NOISE_MODIF_ADD,
diff --git a/source/blender/makesdna/DNA_boid_types.h b/source/blender/makesdna/DNA_boid_types.h
index 88b2c1e31b8..d5aa87fc8ae 100644
--- a/source/blender/makesdna/DNA_boid_types.h
+++ b/source/blender/makesdna/DNA_boid_types.h
@@ -46,11 +46,11 @@ typedef enum eBoidRuleType {
#if 0
/** go to enemy closest to target and attack when in range */
eBoidRuleType_Protect = 9,
- /** find a deflector move to it's other side from closest enemy */
+ /** find a deflector move to its other side from closest enemy */
eBoidRuleType_Hide = 10,
/** move along a assigned curve or closest curve in a group */
eBoidRuleType_FollowPath = 11,
- /** move next to a deflector object's in direction of it's tangent */
+ /** move next to a deflector object's in direction of its tangent */
eBoidRuleType_FollowWall = 12,
#endif
} eBoidRuleType;
diff --git a/source/blender/makesdna/DNA_linestyle_types.h b/source/blender/makesdna/DNA_linestyle_types.h
index 867f0995ae9..422b99f00a0 100644
--- a/source/blender/makesdna/DNA_linestyle_types.h
+++ b/source/blender/makesdna/DNA_linestyle_types.h
@@ -31,7 +31,7 @@
#endif
/* texco (also in DNA_material_types.h) */
-#define TEXCO_STROKE 16 /* actually it's UV */
+#define TEXCO_STROKE 16 /* actually its UV */
struct AnimData;
struct ColorBand;
diff --git a/source/blender/makesdna/DNA_mask_types.h b/source/blender/makesdna/DNA_mask_types.h
index 5f232036f2a..f877b8f0c51 100644
--- a/source/blender/makesdna/DNA_mask_types.h
+++ b/source/blender/makesdna/DNA_mask_types.h
@@ -89,7 +89,7 @@ typedef struct MaskSplinePointUW {
} MaskSplinePointUW;
typedef struct MaskSplinePoint {
- /** Actual point coordinates and it's handles . */
+ /** Actual point coordinates and its handles . */
BezTriple bezt;
char _pad[4];
/** Number of uv feather values. */
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index 57750b15dea..45bf6e8c282 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -308,7 +308,7 @@ typedef enum eMVertSkinFlag {
*/
MVERT_SKIN_ROOT = 1,
- /** Marks a branch vertex (vertex with more than two connected edges), so that it's neighbors
+ /** Marks a branch vertex (vertex with more than two connected edges), so that its neighbors
* are directly hulled together, rather than the default of generating intermediate frames.
*/
MVERT_SKIN_LOOSE = 2,
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 0b63a085ee6..2449608be4c 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -862,7 +862,7 @@ typedef struct PaintToolSlot {
typedef struct Paint {
struct Brush *brush;
- /* Each tool has it's own active brush,
+ /* Each tool has its own active brush,
* The currently active tool is defined by the current 'brush'. */
struct PaintToolSlot *tool_slots;
int tool_slots_len;
diff --git a/source/blender/makesdna/DNA_sdna_types.h b/source/blender/makesdna/DNA_sdna_types.h
index 05f86e32961..4505eed3208 100644
--- a/source/blender/makesdna/DNA_sdna_types.h
+++ b/source/blender/makesdna/DNA_sdna_types.h
@@ -92,7 +92,7 @@ typedef struct SDNA {
const char **names;
/** Aligned with #SDNA.types, same pointers when unchanged. */
const char **types;
- /** A version of #SDNA.structs_map that uses #SDNA.alias.types for it's keys. */
+ /** A version of #SDNA.structs_map that uses #SDNA.alias.types for its keys. */
struct GHash *structs_map;
} alias;
} SDNA;
diff --git a/source/blender/makesdna/DNA_sound_types.h b/source/blender/makesdna/DNA_sound_types.h
index 5adadd8f8d1..39e1c730f10 100644
--- a/source/blender/makesdna/DNA_sound_types.h
+++ b/source/blender/makesdna/DNA_sound_types.h
@@ -80,7 +80,7 @@ typedef struct bSound {
/**
* The audaspace handle that should actually be played back.
- * Should be cache if cache != NULL; otherwise it's handle
+ * Should be cache if cache != NULL; otherwise its handle
*/
void *playback_handle;
diff --git a/source/blender/makesdna/DNA_tracking_types.h b/source/blender/makesdna/DNA_tracking_types.h
index f361f96e633..d0105cda1ea 100644
--- a/source/blender/makesdna/DNA_tracking_types.h
+++ b/source/blender/makesdna/DNA_tracking_types.h
@@ -178,7 +178,7 @@ typedef struct MovieTrackingTrack {
/* Weight of this track.
*
* Weight defines how much the track affects on the final reconstruction,
- * usually gets animated in a way so when track has just appeared it's
+ * usually gets animated in a way so when track has just appeared its
* weight is zero and then it gets faded up.
*
* Used to prevent jumps of the camera when tracks are appearing or
diff --git a/source/blender/makesdna/intern/dna_genfile.c b/source/blender/makesdna/intern/dna_genfile.c
index ac747ab3037..df1626157b0 100644
--- a/source/blender/makesdna/intern/dna_genfile.c
+++ b/source/blender/makesdna/intern/dna_genfile.c
@@ -943,7 +943,7 @@ static bool elem_exists_alias(const SDNA *sdna,
}
/**
- * Return the offset in bytes or -1 on failure to find the struct member with it's expected type.
+ * Return the offset in bytes or -1 on failure to find the struct member with its expected type.
*
* \param sdna: Old #SDNA.
* \param type: Current field type name.
@@ -1774,7 +1774,7 @@ bool DNA_sdna_patch_struct_member(SDNA *sdna,
/**
* Names are shared between structs which causes problems renaming.
- * Make sure every struct member gets it's own name so renaming only ever impacts a single struct.
+ * Make sure every struct member gets its own name so renaming only ever impacts a single struct.
*
* The resulting SDNA is never written to disk.
*/
diff --git a/source/blender/makesdna/intern/dna_rename_defs.h b/source/blender/makesdna/intern/dna_rename_defs.h
index a0e983e7d3b..7067caa60d9 100644
--- a/source/blender/makesdna/intern/dna_rename_defs.h
+++ b/source/blender/makesdna/intern/dna_rename_defs.h
@@ -24,7 +24,7 @@
* Defines in this header are only used to define blend file storage.
* This allows us to rename variables & structs without breaking compatibility.
*
- * - When renaming the member of a struct which has it's self been renamed
+ * - When renaming the member of a struct which has itself been renamed
* refer to the newer name, not the original.
*
* - Changes here only change generated code for `makesdna.c` and `makesrna.c`
diff --git a/source/blender/makesrna/intern/rna_boid.c b/source/blender/makesrna/intern/rna_boid.c
index 8a28a03cc71..33d69f6f912 100644
--- a/source/blender/makesrna/intern/rna_boid.c
+++ b/source/blender/makesrna/intern/rna_boid.c
@@ -84,7 +84,7 @@ const EnumPropertyItem rna_enum_boidrule_type_items[] = {
"HIDE",
0,
"Hide",
- "Find a deflector move to it's other side from closest enemy"},
+ "Find a deflector move to its other side from closest enemy"},
{eBoidRuleType_FollowPath,
"FOLLOW_PATH",
0,
@@ -94,7 +94,7 @@ const EnumPropertyItem rna_enum_boidrule_type_items[] = {
"FOLLOW_WALL",
0,
"Follow Wall",
- "Move next to a deflector object's in direction of it's tangent"},
+ "Move next to a deflector object's in direction of its tangent"},
#endif
{0, NULL, 0, NULL, NULL},
};
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c
index 5bd544ece41..922da74973c 100644
--- a/source/blender/makesrna/intern/rna_image_api.c
+++ b/source/blender/makesrna/intern/rna_image_api.c
@@ -367,7 +367,7 @@ void RNA_api_image(StructRNA *srna)
NULL,
FILE_MAX,
"File Path",
- "The resulting filepath from the image and it's user");
+ "The resulting filepath from the image and its user");
RNA_def_parameter_flags(parm, PROP_THICK_WRAP, 0); /* needed for string return value */
RNA_def_function_output(func, parm);
diff --git a/source/blender/makesrna/intern/rna_mask.c b/source/blender/makesrna/intern/rna_mask.c
index 687b32dec04..cfbaf0cccf5 100644
--- a/source/blender/makesrna/intern/rna_mask.c
+++ b/source/blender/makesrna/intern/rna_mask.c
@@ -635,7 +635,7 @@ static void rna_def_maskParent(BlenderRNA *brna)
RNA_def_property_pointer_funcs(
prop, NULL, "rna_MaskParent_id_set", "rna_MaskParent_id_typef", NULL);
RNA_def_property_ui_text(
- prop, "ID", "ID-block to which masking element would be parented to or to it's property");
+ prop, "ID", "ID-block to which masking element would be parented to or to its property");
RNA_def_property_update(prop, 0, "rna_Mask_update_parent");
prop = RNA_def_property(srna, "id_type", PROP_ENUM, PROP_NONE);
diff --git a/source/blender/makesrna/intern/rna_movieclip.c b/source/blender/makesrna/intern/rna_movieclip.c
index b94221ae936..ff5445f1d71 100644
--- a/source/blender/makesrna/intern/rna_movieclip.c
+++ b/source/blender/makesrna/intern/rna_movieclip.c
@@ -410,7 +410,7 @@ static void rna_def_movieclip(BlenderRNA *brna)
RNA_def_property_ui_text(
prop,
"Frame Offset",
- "Offset of footage first frame relative to it's file name "
+ "Offset of footage first frame relative to its file name "
"(affects only how footage is loading, does not change data associated with a clip)");
RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, "rna_MovieClip_reload_update");
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 615faf6e2f3..543038eee8c 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -2017,7 +2017,7 @@ static void rna_def_fluid_settings(BlenderRNA *brna)
RNA_def_property_ui_text(
prop,
"Elastic Limit",
- "How much the spring has to be stretched/compressed in order to change it's rest length");
+ "How much the spring has to be stretched/compressed in order to change its rest length");
RNA_def_property_update(prop, 0, "rna_Particle_reset");
prop = RNA_def_property(srna, "spring_frames", PROP_INT, PROP_NONE);
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 53cbd8522fe..9d322d0d09b 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -1539,7 +1539,7 @@ static void rna_def_color_balance(BlenderRNA *brna)
srna = RNA_def_struct(brna, "SequenceColorBalanceData", NULL);
RNA_def_struct_ui_text(srna,
"Sequence Color Balance Data",
- "Color balance parameters for a sequence strip and it's modifiers");
+ "Color balance parameters for a sequence strip and its modifiers");
RNA_def_struct_sdna(srna, "StripColorBalance");
prop = RNA_def_property(srna, "lift", PROP_FLOAT, PROP_COLOR_GAMMA);
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 2b04a2328ad..74edc3b9a44 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -232,7 +232,7 @@ void rna_userdef_is_dirty_update_impl(void)
/**
* Use as a fallback update handler,
- * never use 'ptr' unless it's type is checked.
+ * never use 'ptr' unless its type is checked.
*/
void rna_userdef_is_dirty_update(Main *UNUSED(bmain),
Scene *UNUSED(scene),
diff --git a/source/blender/nodes/shader/node_shader_tree.c b/source/blender/nodes/shader/node_shader_tree.c
index 758f7edfe49..ae5da4d2fd2 100644
--- a/source/blender/nodes/shader/node_shader_tree.c
+++ b/source/blender/nodes/shader/node_shader_tree.c
@@ -535,7 +535,7 @@ static void ntree_shader_groups_flatten(bNodeTree *localtree)
/* Check whether shader has a displacement.
*
- * Will also return a node and it's socket which is connected to a displacement
+ * Will also return a node and its socket which is connected to a displacement
* output. Additionally, link which is attached to the displacement output is
* also returned.
*/
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 8ad7d84ca2d..bee4fef9d17 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -8136,7 +8136,7 @@ static int bpy_class_validate_recursive(PointerRNA *dummyptr,
* 'FUNC_USE_SELF_TYPE' for many functions. */
const bool is_staticmethod = (flag & FUNC_NO_SELF) && !(flag & FUNC_USE_SELF_TYPE);
- /* Store original so we can decrement it's reference before returning. */
+ /* Store original so we can decrement its reference before returning. */
PyObject *item_orig = item;
if (is_staticmethod) {
diff --git a/source/blender/python/intern/bpy_rna_types_capi.c b/source/blender/python/intern/bpy_rna_types_capi.c
index 30623724593..042f7b6fd67 100644
--- a/source/blender/python/intern/bpy_rna_types_capi.c
+++ b/source/blender/python/intern/bpy_rna_types_capi.c
@@ -87,7 +87,7 @@ static struct PyMethodDef pyrna_uilayout_methods[] = {
/* -------------------------------------------------------------------- */
/** \name Window Manager Clipboard Property
*
- * Avoid using the RNA API because this value may change between checking it's length
+ * Avoid using the RNA API because this value may change between checking its length
* and creating the buffer, causing writes past the allocated length.
* \{ */
diff --git a/source/blender/python/intern/bpy_rna_ui.c b/source/blender/python/intern/bpy_rna_ui.c
index 27e4cb069ce..ec92eadfd72 100644
--- a/source/blender/python/intern/bpy_rna_ui.c
+++ b/source/blender/python/intern/bpy_rna_ui.c
@@ -17,7 +17,7 @@
/** \file
* \ingroup pythonintern
*
- * This adds helpers to #uiLayout which can't be added easily to RNA it's self.
+ * This adds helpers to #uiLayout which can't be added easily to RNA itself.
*/
#include <Python.h>
diff --git a/source/blender/sequencer/intern/sequencer.c b/source/blender/sequencer/intern/sequencer.c
index 2e38c478905..473f008bd9c 100644
--- a/source/blender/sequencer/intern/sequencer.c
+++ b/source/blender/sequencer/intern/sequencer.c
@@ -1533,7 +1533,7 @@ static int evaluate_seq_frame_gen(Sequence **seq_arr, ListBase *seqbase, int cfr
for (LinkNode *seq_item = effect_inputs.list; seq_item; seq_item = seq_item->next) {
Sequence *seq = seq_item->link;
/* It's possible that effect strip would be placed to the same
- * 'machine' as it's inputs. We don't want to clear such strips
+ * 'machine' as its inputs. We don't want to clear such strips
* from the stack. */
if (seq_arr[seq->machine] && seq_arr[seq->machine]->type & SEQ_TYPE_EFFECT) {
continue;
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h
index 8e2b5e04e42..8f84c02be12 100644
--- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h
+++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h
@@ -82,7 +82,7 @@ typedef enum eWM_GizmoFlag {
* Needed when the gizmo needs to align with the interface underneath it. */
WM_GIZMO_DRAW_NO_SCALE = (1 << 7),
/**
- * Hide the cursor and lock it's position while interacting with this gizmo.
+ * Hide the cursor and lock its position while interacting with this gizmo.
*/
WM_GIZMO_MOVE_CURSOR = (1 << 8),
/** Don't write into the depth buffer when selecting. */
@@ -92,7 +92,7 @@ typedef enum eWM_GizmoFlag {
WM_GIZMO_OPERATOR_TOOL_INIT = (1 << 10),
/** Don't pass through events to other handlers
- * (allows click/drag not to have it's events stolen by press events in other keymaps). */
+ * (allows click/drag not to have its events stolen by press events in other keymaps). */
WM_GIZMO_EVENT_HANDLE_ALL = (1 << 11),
/** Don't use tool-tips for this gizmo (can be distracting). */
@@ -382,7 +382,7 @@ typedef struct wmGizmoType {
/** Called when gizmo selection state changes. */
wmGizmoFnSelectRefresh select_refresh;
- /** Free data (not the gizmo it's self), use when the gizmo allocates it's own members. */
+ /** Free data (not the gizmo itself), use when the gizmo allocates its own members. */
wmGizmoFnFree free;
/** RNA for properties. */
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
index 34710d82f95..eea046cd1cf 100644
--- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
+++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
@@ -444,7 +444,7 @@ static bool gizmo_tweak_start_and_finish(
wmWindowManager *wm = CTX_wm_manager(C);
wmOperator *op = WM_operator_last_redo(C);
- /* We may want to enable this, for now the gizmo can manage it's own properties. */
+ /* We may want to enable this, for now the gizmo can manage its own properties. */
#if 0
IDP_MergeGroup(gzop->ptr.data, op->properties, false);
#endif
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c
index 0f39e6ccf80..d50516dfab2 100644
--- a/source/blender/windowmanager/intern/wm_cursors.c
+++ b/source/blender/windowmanager/intern/wm_cursors.c
@@ -403,7 +403,7 @@ void WM_cursor_time(wmWindow *win, int nr)
/**
* Because defining a cursor mixes declarations and executable code
- * each cursor needs it's own scoping block or it would be split up
+ * each cursor needs its own scoping block or it would be split up
* over several hundred lines of code. To enforce/document this better
* I define 2 pretty brain-dead macros so it's obvious what the extra "[]"
* are for */
diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c
index 570d60f6c60..5327062d9bb 100644
--- a/source/blender/windowmanager/intern/wm_toolsystem.c
+++ b/source/blender/windowmanager/intern/wm_toolsystem.c
@@ -521,7 +521,7 @@ void WM_toolsystem_refresh_active(bContext *C)
/* Could skip loop for modes that don't depend on space type. */
int space_type_mask_handled = 0;
LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) {
- /* Don't change the space type of the active tool, only update it's mode. */
+ /* Don't change the space type of the active tool, only update its mode. */
const int space_type_mask = (1 << area->spacetype);
if ((space_type_mask & WM_TOOLSYSTEM_SPACE_MASK) &&
((space_type_mask_handled & space_type_mask) == 0)) {
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 6782d8ea484..b43e033c7ca 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -1292,7 +1292,7 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr
* click could have been done on a button and depending on window manager settings
* click would be passed to blender or not, but in any case button under cursor
* should be activated, so at max next click on button without moving mouse
- * would trigger it's handle function
+ * would trigger its handle function
* currently it seems to be common practice to generate new event for, but probably
* we'll need utility function for this? (sergey)
*/