Cleanup - Various style/typo fixes
authorJoshua Leung <aligorith@gmail.com>
Sat, 23 Dec 2017 10:54:05 +0000 (23:54 +1300)
committerJoshua Leung <aligorith@gmail.com>
Sat, 23 Dec 2017 10:54:05 +0000 (23:54 +1300)
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/depsgraph/intern/builder/deg_builder_relations.h
source/blender/editors/armature/armature_relations.c

index 85e80f80d262d482f87d6563568048158164acae..b268d311a4194a87cb6e5e2c754e0f818a4bf07d 100644 (file)
@@ -757,7 +757,7 @@ void DepsgraphNodeBuilder::build_obdata_geom(Object *object)
 
        // TODO: "Done" operation
 
-       /* Cloyth modifier. */
+       /* Cloth modifier. */
        LINKLIST_FOREACH (ModifierData *, md, &object->modifiers) {
                if (md->type == eModifierType_Cloth) {
                        build_cloth(object);
index 0546d43af72fe6956643aec9869c7e949331c0f2..b6ef331442a9dbb93bbd72eed8488e7086d4d661 100644 (file)
@@ -900,7 +900,7 @@ void DepsgraphRelationBuilder::build_animdata(ID *id)
        /* Animation curves and NLA. */
        build_animdata_curves(id);
        /* Drivers. */
-       build_animdata_drievrs(id);
+       build_animdata_drivers(id);
 }
 
 void DepsgraphRelationBuilder::build_animdata_curves(ID *id)
@@ -969,7 +969,7 @@ void DepsgraphRelationBuilder::build_animdata_curves_targets(ID *id)
        }
 }
 
-void DepsgraphRelationBuilder::build_animdata_drievrs(ID *id)
+void DepsgraphRelationBuilder::build_animdata_drivers(ID *id)
 {
        AnimData *adt = BKE_animdata_from_id(id);
        if (adt == NULL) {
@@ -1793,7 +1793,8 @@ void DepsgraphRelationBuilder::build_gpencil(bGPdata *gpd)
        // TODO: parent object (when that feature is implemented)
 }
 
-void DepsgraphRelationBuilder::build_cachefile(CacheFile *cache_file) {
+void DepsgraphRelationBuilder::build_cachefile(CacheFile *cache_file)
+{
        /* Animation. */
        build_animdata(&cache_file->id);
 }
index 9dd14b631af72e4b28c3b46a3672dacc6a93c62d..9558a726402c0bb953436302dc6340d596d35b99 100644 (file)
@@ -202,7 +202,7 @@ struct DepsgraphRelationBuilder
        void build_animdata(ID *id);
        void build_animdata_curves(ID *id);
        void build_animdata_curves_targets(ID *id);
-       void build_animdata_drievrs(ID *id);
+       void build_animdata_drivers(ID *id);
        void build_driver(ID *id, FCurve *fcurve);
        void build_driver_data(ID *id, FCurve *fcurve);
        void build_driver_variables(ID *id, FCurve *fcurve);
index 685f8227a4706f0be4fe671d1791a434260ae701..14304b158df1f01124ad8aaa10b286af6ccceaa0 100644 (file)
@@ -123,7 +123,7 @@ typedef struct tJoinArmature_AdtFixData {
        GHash *names_map;
 } tJoinArmature_AdtFixData;
 
-/* Callback to pass to void BKE_animdata_main_cb() for fixing driver ID's to point to the new ID */
+/* Callback to pass to BKE_animdata_main_cb() for fixing driver ID's to point to the new ID */
 /* FIXME: For now, we only care about drivers here. When editing rigs, it's very rare to have animation
  *        on the rigs being edited already, so it should be safe to skip these.
  */