diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-06 07:18:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-06 10:45:11 +0300 |
commit | 72565fbf30378f1100da4c24e4e365b017fa447a (patch) | |
tree | df51249c8b4ce195c0dc7c2e4da4f46e1fa00467 /source/blender | |
parent | 499308d07962e66f3db8dc313ece3a36e4a9e67d (diff) |
Cleanup: style, spelling
Diffstat (limited to 'source/blender')
9 files changed, 14 insertions, 13 deletions
diff --git a/source/blender/blenloader/intern/versioning_260.c b/source/blender/blenloader/intern/versioning_260.c index 72a320281fe..c66b9d1fae9 100644 --- a/source/blender/blenloader/intern/versioning_260.c +++ b/source/blender/blenloader/intern/versioning_260.c @@ -275,7 +275,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo BLI_snprintf(sockpath, sizeof(sockpath), "%s_Image", filename); sock = ntreeCompositOutputFileAddSocket(ntree, node, sockpath, &nimf->format); - /* XXX later do_versions copies path from socket name, need to set this explicitely */ + /* XXX later do_versions copies path from socket name, need to set this explicitly */ BLI_strncpy(sock->name, sockpath, sizeof(sock->name)); if (old_image->link) { old_image->link->tosock = sock; @@ -284,7 +284,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo BLI_snprintf(sockpath, sizeof(sockpath), "%s_Z", filename); sock = ntreeCompositOutputFileAddSocket(ntree, node, sockpath, &nimf->format); - /* XXX later do_versions copies path from socket name, need to set this explicitely */ + /* XXX later do_versions copies path from socket name, need to set this explicitly */ BLI_strncpy(sock->name, sockpath, sizeof(sock->name)); if (old_z->link) { old_z->link->tosock = sock; @@ -293,7 +293,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo } else { sock = ntreeCompositOutputFileAddSocket(ntree, node, filename, &nimf->format); - /* XXX later do_versions copies path from socket name, need to set this explicitely */ + /* XXX later do_versions copies path from socket name, need to set this explicitly */ BLI_strncpy(sock->name, filename, sizeof(sock->name)); if (old_image->link) { old_image->link->tosock = sock; diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index e788f1027e1..d11c1957d33 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -975,7 +975,8 @@ static bool ui_but_event_operator_string(const bContext *C, uiBut *but, char *bu IDP_AssignString(prop_menu_name, mt->idname, sizeof(mt->idname)); - if (WM_key_event_operator_string(C, "WM_OT_call_menu", WM_OP_INVOKE_REGION_WIN, prop_menu, true, buf_len, buf)) + if (WM_key_event_operator_string(C, "WM_OT_call_menu", WM_OP_INVOKE_REGION_WIN, prop_menu, + true, buf_len, buf)) { found = true; } diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index f2b2923ee0d..d52031ecc03 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -1844,7 +1844,7 @@ static void vgroup_smooth_subset( MVert *v_other = &me->mvert[i_other]; if ((source == WEIGHT_SMOOTH_ALL) || - (source == ((v_other->flag & SELECT) != 0))) + (source == ((v_other->flag & SELECT) != 0))) { WEIGHT_ACCUMULATE; } diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp index 1d51bf287af..39919b41423 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp @@ -387,7 +387,7 @@ PyDoc_STRVAR(SVertex_curvatures_doc, "directions, i.e. the directions of the normal plane where the\n" "curvature takes its maximum and minimum values, respectively; and Kr,\n" "er and dKr are the radial curvature, radial direction, and the\n" -"derivative of the radial curvature at this SVertex, repectively.\n" +"derivative of the radial curvature at this SVertex, respectively.\n" "\n" ":type: tuple"); diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.cpp index 517b07f5c7f..041bb60b507 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.cpp @@ -63,7 +63,7 @@ static char GetDirectionalViewMapDensityF1D___doc__[] = "\n" " Returns the density evaluated for an Interface1D in of the steerable\n" " viewmaps image. The direction telling which Directional map to choose\n" -" is explicitely specified by the user. The density is evaluated for a\n" +" is explicitly specified by the user. The density is evaluated for a\n" " set of points along the Interface1D (using the\n" " :class:`freestyle.functions.ReadSteerableViewMapPixelF0D` functor) and\n" " then integrated into a single value using a user-defined integration\n" diff --git a/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h b/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h index cbdff4ed96c..9df690cf5b0 100644 --- a/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h +++ b/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h @@ -168,7 +168,7 @@ private: // GetDirectionalViewMapDensity /*! Returns the density evaluated for an Interface1D in of the steerable viewmaps image. - * The direction telling which Directional map to choose is explicitely specified by the user. + * The direction telling which Directional map to choose is explicitly specified by the user. * The density is evaluated for a set of points along the Interface1D (using the ReadSteerableViewMapPixelF0D functor) * and then integrated into a single value using a user-defined integration method. */ diff --git a/source/blender/freestyle/intern/system/BaseObject.h b/source/blender/freestyle/intern/system/BaseObject.h index 8cabd9130b4..945c2c8d35e 100644 --- a/source/blender/freestyle/intern/system/BaseObject.h +++ b/source/blender/freestyle/intern/system/BaseObject.h @@ -46,7 +46,7 @@ public: virtual ~BaseObject() {} /*! At least makes a release on this. - * The BaseObject::destroy method must be explicitely called at the end of any overloaded destroy + * The BaseObject::destroy method must be explicitly called at the end of any overloaded destroy */ virtual int destroy() { diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index e356c2e647a..a1fa6ab13be 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -834,11 +834,11 @@ static void rna_def_material_gamesettings(BlenderRNA *brna) {GEMAT_ADD, "ADD", 0, "Add", "Render face transparent and add color of face"}, {GEMAT_CLIP, "CLIP", 0, "Alpha Clip", "Use the image alpha values clipped with no blending (binary alpha)"}, {GEMAT_ALPHA, "ALPHA", 0, "Alpha Blend", - "Render polygon transparent, depending on alpha channel of the texture"}, + "Render polygon transparent, depending on alpha channel of the texture"}, {GEMAT_ALPHA_SORT, "ALPHA_SORT", 0, "Alpha Sort", - "Sort faces for correct alpha drawing (slow, use Alpha Clip instead when possible)"}, + "Sort faces for correct alpha drawing (slow, use Alpha Clip instead when possible)"}, {GEMAT_ALPHA_TO_COVERAGE, "ALPHA_ANTIALIASING", 0, "Alpha Anti-Aliasing", - "Use textures alpha as anti-aliasing mask, requires multi-sample OpenGL display"}, + "Use textures alpha as anti-aliasing mask, requires multi-sample OpenGL display"}, {0, NULL, 0, NULL, NULL} }; diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index b0fae243182..4dcd642634a 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -2696,7 +2696,7 @@ static PyObject *BPy_EnumProperty(PyObject *self, PyObject *args, PyObject *kw) } if (def == Py_None) { - /* This allows to get same behavior when explicitely passing None as default value, + /* This allows to get same behavior when explicitly passing None as default value, * and not defining a default value at all! */ def = NULL; } |