style cleanup
[blender.git] / source / blender / collada / SceneExporter.cpp
index 3a06ca3bc0e6715080fab48d8302bdaaad359115..dbf7d40b373bd0b593ce64e93e1689fecf55fe59 100644 (file)
@@ -182,7 +182,7 @@ void SceneExporter::writeNodes(Object *ob, Scene *sce)
                colladaNode.end();
        }
 
-       if (ob->constraints.first != NULL ){
+       if (ob->constraints.first != NULL ) {
                bConstraint *con = (bConstraint*) ob->constraints.first;
                while (con) {
                        std::string con_name(id_name(con));
@@ -208,8 +208,8 @@ void SceneExporter::writeNodes(Object *ob, Scene *sce)
                                Object *obtar;
                        
                                cti->get_constraint_targets(con, &targets);
-                               if(cti){
-                                       for (ct = (bConstraintTarget*)targets.first; ct; ct = ct->next){
+                               if (cti) {
+                                       for (ct = (bConstraintTarget*)targets.first; ct; ct = ct->next) {
                                                obtar = ct->tar;
                                                std::string tar_id(id_name(obtar));
                                                colladaNode.addExtraTechniqueChildParameter("blender",con_tag,"target_id",tar_id);