Cleanup: spelling

This commit is contained in:
Campbell Barton 2020-04-14 10:41:21 +10:00
parent 9ce83acba4
commit 5f059c8751
5 changed files with 9 additions and 10 deletions

@ -1724,7 +1724,7 @@ static void library_make_local_copying_check(ID *id,
* relation we want to check is in the other way around. */ * relation we want to check is in the other way around. */
if (entry->usage_flag & IDWALK_CB_LOOPBACK) { if (entry->usage_flag & IDWALK_CB_LOOPBACK) {
#ifndef NDEBUG #ifndef NDEBUG
/* Some debug checks to ensure we explicitely are aware of all 'loopback' cases, since those /* Some debug checks to ensure we explicitly are aware of all 'loop-back' cases, since those
* may not always be manageable in the same way... */ * may not always be manageable in the same way... */
switch (GS(par_id->name)) { switch (GS(par_id->name)) {
case ID_OB: case ID_OB:

@ -20,7 +20,7 @@
/** \file /** \file
* \ingroup depsgraph * \ingroup depsgraph
* *
* Evaluation engine entrypoints for Depsgraph Engine. * Evaluation engine entry-points for Depsgraph Engine.
*/ */
#include "MEM_guardedalloc.h" #include "MEM_guardedalloc.h"

@ -1299,9 +1299,8 @@ static bool ui_but_event_property_operator_string(const bContext *C,
} }
else if (GS(id->name) == ID_SCE) { else if (GS(id->name) == ID_SCE) {
if (RNA_struct_is_a(ptr->type, &RNA_ToolSettings)) { if (RNA_struct_is_a(ptr->type, &RNA_ToolSettings)) {
/* toolsettings property /* Tool-settings property:
* NOTE: toolsettings is usually accessed directly (i.e. not through scene) * NOTE: tool-settings is usually accessed directly (i.e. not through scene). */
*/
data_path = RNA_path_from_ID_to_property(ptr, prop); data_path = RNA_path_from_ID_to_property(ptr, prop);
} }
else { else {

@ -1622,8 +1622,8 @@ static void node_parent_offset_apply(NodeInsertOfsData *data, bNode *parent, con
node_offset_apply(parent, offset_x); node_offset_apply(parent, offset_x);
/* flag all childs as offset to prevent them from being offset /* Flag all children as offset to prevent them from being offset
* separately (they've already moved with the parent) */ * separately (they've already moved with the parent). */
for (node = data->ntree->nodes.first; node; node = node->next) { for (node = data->ntree->nodes.first; node; node = node->next) {
if (nodeIsChildOf(parent, node)) { if (nodeIsChildOf(parent, node)) {
/* NODE_TEST is used to flag nodes that shouldn't be offset (again) */ /* NODE_TEST is used to flag nodes that shouldn't be offset (again) */

@ -231,9 +231,9 @@ static void add_pose_transdata(
data->flag |= CONSTRAINT_IK_AUTO; data->flag |= CONSTRAINT_IK_AUTO;
/* Add a temporary auto IK constraint here, as we will only temporarly active this targetless /* Add a temporary auto IK constraint here, as we will only temporarily active this
* bone during transform. (Targetless IK constraints are treated as if they are disabled * targetless bone during transform. (Targetless IK constraints are treated as if they are
* unless they are transformed) */ * disabled unless they are transformed). */
add_temporary_ik_constraint(pchan, data); add_temporary_ik_constraint(pchan, data);
Main *bmain = CTX_data_main(t->context); Main *bmain = CTX_data_main(t->context);
update_deg_with_temporary_ik(bmain, ob); update_deg_with_temporary_ik(bmain, ob);