diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-09 05:01:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 18:47:10 +0400 |
commit | 6a75ecda9b487c95fcabd05100393f976e3ef612 (patch) | |
tree | 9d5a4814c247442f1045d4395b662f9458b70e4b | |
parent | baa0f0ee1ace8b14afdacd88c121f080906edbc0 (diff) |
Code cleanup: spelling
-rw-r--r-- | source/blender/blenkernel/BKE_depsgraph.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/bpath.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/context.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/pbvh.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/tracking_stabilize.c | 2 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_260.c | 2 | ||||
-rw-r--r-- | source/blender/render/intern/source/external_engine.c | 4 | ||||
-rw-r--r-- | source/blender/render/intern/source/occlusion.c | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/blenkernel/BKE_depsgraph.h b/source/blender/blenkernel/BKE_depsgraph.h index 58903b76a15..bde15d29a1b 100644 --- a/source/blender/blenkernel/BKE_depsgraph.h +++ b/source/blender/blenkernel/BKE_depsgraph.h @@ -57,7 +57,7 @@ struct ListBase; */ typedef struct EvaluationContext { bool for_render; /* Set to true if evaluation shall be performed for render purposes, - keep at false if update shall happen for the viewport. */ + * keep at false if update shall happen for the viewport. */ } EvaluationContext; /* DagNode->eval_flags */ diff --git a/source/blender/blenkernel/intern/bpath.c b/source/blender/blenkernel/intern/bpath.c index 3fca58bd088..2e1530740d8 100644 --- a/source/blender/blenkernel/intern/bpath.c +++ b/source/blender/blenkernel/intern/bpath.c @@ -695,7 +695,7 @@ bool BKE_bpath_relocate_visitor(void *pathbase_v, char *path_dst, const char *pa /* -------------------------------------------------------------------- */ /** * Backup/Restore/Free functions, - * \note These functions assume the data won't chane order. + * \note These functions assume the data won't change order. */ struct PathStore { diff --git a/source/blender/blenkernel/intern/context.c b/source/blender/blenkernel/intern/context.c index 89ba2e9d68b..47b29b49689 100644 --- a/source/blender/blenkernel/intern/context.c +++ b/source/blender/blenkernel/intern/context.c @@ -290,7 +290,7 @@ static int ctx_data_get(bContext *C, const char *member, bContextDataResult *res return done; /* we check recursion to ensure that we do not get infinite - * loops requesting data from ourselfs in a context callback */ + * loops requesting data from ourselves in a context callback */ /* Ok, this looks evil... * if (ret) done = -(-ret | -done); diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index 4de034d3904..b8ea7fec609 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -2505,7 +2505,7 @@ void BKE_curve_bevelList_make(Object *ob, ListBase *nurbs, bool for_render) /* * - convert all curves to polys, with indication of resol and flags for double-vertices * - possibly; do a smart vertice removal (in case Nurb) - * - separate in individual blicks with BoundBox + * - separate in individual blocks with BoundBox * - AutoHole detection */ Curve *cu; diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index 9bffdd8a4e6..d88d4d5970c 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -410,7 +410,7 @@ static void build_leaf(PBVH *bvh, int node_index, BBC *prim_bbc, } /* Return zero if all primitives in the node can be drawn with the - * same material (including flat/smooth shading), non-zerootherwise */ + * same material (including flat/smooth shading), non-zero otherwise */ static int leaf_needs_material_split(PBVH *bvh, int offset, int count) { int i, prim; diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index c94d0dfa548..f8ce31f1b8a 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -1462,7 +1462,7 @@ static void scene_update_objects(EvaluationContext *eval_ctx, Main *bmain, Scene bool need_singlethread_pass; /* Early check for whether we need to invoke all the task-based - * tihngs (spawn new ppol, traverse dependency graph and so on). + * things (spawn new ppol, traverse dependency graph and so on). * * Basically if there's no ID datablocks tagged for update which * corresponds to object->recalc flags (which are checked in diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c index 8cdb547612c..ffbdf5cb486 100644 --- a/source/blender/blenkernel/intern/tracking_stabilize.c +++ b/source/blender/blenkernel/intern/tracking_stabilize.c @@ -155,7 +155,7 @@ static float stabilization_calculate_autoscale_factor(MovieTracking *tracking, i } /* For every frame we calculate scale factor needed to eliminate black - * aread and choose largest scale factor as final one. + * area and choose largest scale factor as final one. */ for (cfra = sfra; cfra <= efra; cfra++) { float median[2]; diff --git a/source/blender/blenloader/intern/versioning_260.c b/source/blender/blenloader/intern/versioning_260.c index cf74ef068eb..3890e07bb65 100644 --- a/source/blender/blenloader/intern/versioning_260.c +++ b/source/blender/blenloader/intern/versioning_260.c @@ -829,7 +829,7 @@ void blo_do_versions_260(FileData *fd, Library *UNUSED(lib), Main *main) for (i = 0; i < 3; i++) { if ( (ob->dsize[i] == 0.0f) || /* simple case, user never touched dsize */ (ob->size[i] == 0.0f)) /* cant scale the dsize to give a non zero result, - so fallback to 1.0f */ + * so fallback to 1.0f */ { ob->dscale[i] = 1.0f; } diff --git a/source/blender/render/intern/source/external_engine.c b/source/blender/render/intern/source/external_engine.c index c8fa8a75672..9017e7ff92a 100644 --- a/source/blender/render/intern/source/external_engine.c +++ b/source/blender/render/intern/source/external_engine.c @@ -411,8 +411,8 @@ void RE_bake_engine_set_engine_parameters(Render *re, Main *bmain, Scene *scene) re->r = scene->r; /* prevent crash when freeing the scene - but it potentially leaves unfreed memory blocks - not sure how to fix this yet -- dfelinto */ + * but it potentially leaves unfreed memory blocks + * not sure how to fix this yet -- dfelinto */ BLI_listbase_clear(&re->r.layers); } diff --git a/source/blender/render/intern/source/occlusion.c b/source/blender/render/intern/source/occlusion.c index dd0b1f89da7..f0fe5d054f0 100644 --- a/source/blender/render/intern/source/occlusion.c +++ b/source/blender/render/intern/source/occlusion.c @@ -621,7 +621,7 @@ static void occ_build_recursive(OcclusionTree *tree, OccNode *node, int begin, i static void occ_build_sh_normalize(OccNode *node) { /* normalize spherical harmonics to not include area, so - * we can clamp the dot product and then mutliply by area */ + * we can clamp the dot product and then multiply by area */ int b; if (node->area != 0.0f) |