Cleanup: Make format
Formatting changes resulting from Make Format
This commit is contained in:
parent
aae0b71342
commit
1d7ddcc46e
|
@ -81,7 +81,8 @@ int urename(const char *oldname, const char *newname, const bool do_replace)
|
||||||
if (oldname_16 && newname_16) {
|
if (oldname_16 && newname_16) {
|
||||||
/* Closer to UNIX `rename` behavior, as it at least allows to replace an existing file.
|
/* Closer to UNIX `rename` behavior, as it at least allows to replace an existing file.
|
||||||
* Return value logic is inverted however (returns non-zero on sucess, 0 on failure).
|
* Return value logic is inverted however (returns non-zero on sucess, 0 on failure).
|
||||||
* Note that the operation will still fail if the 'newname' existing file is opened anywhere. */
|
* Note that the operation will still fail if the 'newname' existing file is opened anywhere.
|
||||||
|
*/
|
||||||
r = (MoveFileExW(oldname_16, newname_16, do_replace ? MOVEFILE_REPLACE_EXISTING : 0) == 0);
|
r = (MoveFileExW(oldname_16, newname_16, do_replace ? MOVEFILE_REPLACE_EXISTING : 0) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ bool BKE_object_dupli_find_rgba_attribute(const struct Object *ob,
|
||||||
* \return true if the attribute was found; if not, r_value is also set to zero.
|
* \return true if the attribute was found; if not, r_value is also set to zero.
|
||||||
*/
|
*/
|
||||||
bool BKE_view_layer_find_rgba_attribute(const struct Scene *scene,
|
bool BKE_view_layer_find_rgba_attribute(const struct Scene *scene,
|
||||||
const struct ViewLayer *layer,
|
const struct ViewLayer *layer,
|
||||||
const char *name,
|
const char *name,
|
||||||
float r_value[4]);
|
float r_value[4]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue