Cleanup: clang-format

This commit is contained in:
Campbell Barton 2019-09-13 21:11:41 +10:00
parent 95ef6dfa9e
commit 9e60e86057
4 changed files with 6 additions and 3 deletions

View File

@ -34,7 +34,8 @@ shader node_vertex_color(string bump_offset = "center",
Color += Dy(Color);
Alpha += Dy(Alpha);
}
} else {
}
else {
warning("%s", "Invalid attribute.");
}
}

View File

@ -91,7 +91,7 @@ class Film : public Node {
void device_free(Device *device, DeviceScene *dscene, Scene *scene);
bool modified(const Film &film);
void tag_passes_update(Scene *scene, const vector<Pass> &passes_, bool update_passes=true);
void tag_passes_update(Scene *scene, const vector<Pass> &passes_, bool update_passes = true);
void tag_update(Scene *scene);
};

View File

@ -121,7 +121,8 @@ static bool load_driver_functions()
return true;
}
module = dlopen("/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient", RTLD_LAZY | RTLD_LOCAL);
module = dlopen("/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient",
RTLD_LAZY | RTLD_LOCAL);
if (module) {
LOAD_FUNC(SetConnexionHandlers);

View File

@ -19,6 +19,7 @@
#ifndef __BKE_ACTION_H__
#define __BKE_ACTION_H__
/** \file
* \ingroup bke
* \brief Blender kernel action and pose functionality.