Cleanup: style, spelling
authorCampbell Barton <ideasman42@gmail.com>
Mon, 6 Jul 2015 04:18:03 +0000 (14:18 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 6 Jul 2015 07:45:11 +0000 (17:45 +1000)
intern/ghost/test/gears/GHOST_Test.cpp
source/blender/blenloader/intern/versioning_260.c
source/blender/editors/interface/interface.c
source/blender/editors/object/object_vgroup.c
source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp
source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.cpp
source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h
source/blender/freestyle/intern/system/BaseObject.h
source/blender/makesrna/intern/rna_material.c
source/blender/python/intern/bpy_props.c

index d6c8f25707c8d9114f478ac694de31cb72670bc8..f58a220055fc5652b0b918b662925101f2135a58 100644 (file)
@@ -698,19 +698,19 @@ int main(int /*argc*/, char ** /*argv*/)
                                      KEY_ALL_ACCESS);
 
                if (lresult == ERROR_SUCCESS)
-                       printf("Succesfully opened key\n");
+                       printf("Successfully opened key\n");
 #if 0
                lresult = regkey.QueryValue(&keyValue, "StereoEnable");
                if (lresult == ERROR_SUCCESS)
-                       printf("Succesfully queried key\n");
+                       printf("Successfully queried key\n");
 #endif
                lresult = regkey.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\NVIDIA Corporation\\Global\\Stereo3D\\StereoEnable",
                                          "1");
                if (lresult == ERROR_SUCCESS)
-                       printf("Succesfully set value for key\n");
+                       printf("Successfully set value for key\n");
                regkey.Close();
                if (lresult == ERROR_SUCCESS)
-                       printf("Succesfully closed key\n");
+                       printf("Successfully closed key\n");
 //             regkey.Write("2");
        }
 #endif  // WIN32
index 72a320281fe97c108dd3e9087a75ba7021848200..c66b9d1fae9a32546c6dc106b463488e37713bad 100644 (file)
@@ -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;
index e788f1027e17bd4a6e84363c62deb9adb9f9eb1d..d11c1957d33250b1a471ef6f33628553c40c9e16 100644 (file)
@@ -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;
                }
index f2b2923ee0d4a3b55581cc9fd7a9fcffddc8d73d..d52031ecc0354f152b87867baeb06cf434e44772 100644 (file)
@@ -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;
                                                }
index 1d51bf287af05f887470aab30c6f3f52a6a9defb..39919b414231e37dc52b7238375b7ce9fea6e109 100644 (file)
@@ -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");
 
index 517b07f5c7f889e019fa5a008793b797a3ca553b..041bb60b507b69bc917b07be31b6c38fe97b49ae 100644 (file)
@@ -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"
index cbdff4ed96c01a9319116a56d59d9f47a19c535c..9df690cf5b0429c5219837d0e5244e840f796e0f 100644 (file)
@@ -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.
  */
index 8cabd9130b43362a8fbcc2590723ca612b76b626..945c2c8d35e4a6141d7bbf3903454b46749e74b1 100644 (file)
@@ -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()
        {
index e356c2e647acdc729348adb391151d21884cd17e..a1fa6ab13be831d457d701898818bedda3fc3270 100644 (file)
@@ -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}
        };
 
index b0fae24318267a1c962302727f74d1e9e97c5926..4dcd642634ad9919daf70f99996643ccaa2a6e26 100644 (file)
@@ -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;
                }