Cleanup: Make format
Small format changes in various files (not just mine).
This commit is contained in:
@@ -220,7 +220,7 @@ class MultiDevice : public Device {
|
||||
BVH_LAYOUT_EMBREE;
|
||||
else if (bvh->params.bvh_layout == BVH_LAYOUT_MULTI_HIPRT_EMBREE)
|
||||
params.bvh_layout = sub.device->info.type == DEVICE_HIP ? BVH_LAYOUT_HIPRT :
|
||||
BVH_LAYOUT_EMBREE;
|
||||
BVH_LAYOUT_EMBREE;
|
||||
else if (bvh->params.bvh_layout == BVH_LAYOUT_MULTI_EMBREEGPU_EMBREE)
|
||||
params.bvh_layout = sub.device->info.type == DEVICE_ONEAPI ? BVH_LAYOUT_EMBREEGPU :
|
||||
BVH_LAYOUT_EMBREE;
|
||||
|
||||
@@ -43,7 +43,7 @@ static void ft_ansi_stream_close(FT_Stream stream)
|
||||
|
||||
static ulong ft_ansi_stream_io(FT_Stream stream, ulong offset, uchar *buffer, ulong count)
|
||||
{
|
||||
|
||||
|
||||
if (!count && offset > stream->size) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -146,19 +146,21 @@ void ED_operatormacros_nla()
|
||||
wmOperatorType *ot;
|
||||
wmOperatorTypeMacro *otmacro;
|
||||
|
||||
ot = WM_operatortype_append_macro("NLA_OT_duplicate_move",
|
||||
"Duplicate",
|
||||
"Duplicate selected NLA-Strips, adding the new strips to new track(s)",
|
||||
OPTYPE_UNDO | OPTYPE_REGISTER);
|
||||
ot = WM_operatortype_append_macro(
|
||||
"NLA_OT_duplicate_move",
|
||||
"Duplicate",
|
||||
"Duplicate selected NLA-Strips, adding the new strips to new track(s)",
|
||||
OPTYPE_UNDO | OPTYPE_REGISTER);
|
||||
otmacro = WM_operatortype_macro_define(ot, "NLA_OT_duplicate");
|
||||
RNA_boolean_set(otmacro->ptr, "linked", false);
|
||||
WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate");
|
||||
|
||||
ot = WM_operatortype_append_macro("NLA_OT_duplicate_linked_move",
|
||||
"Duplicate Linked",
|
||||
"Duplicate Linked selected NLA-Strips, adding the new strips to new track(s)",
|
||||
OPTYPE_UNDO | OPTYPE_REGISTER);
|
||||
|
||||
ot = WM_operatortype_append_macro(
|
||||
"NLA_OT_duplicate_linked_move",
|
||||
"Duplicate Linked",
|
||||
"Duplicate Linked selected NLA-Strips, adding the new strips to new track(s)",
|
||||
OPTYPE_UNDO | OPTYPE_REGISTER);
|
||||
|
||||
otmacro = WM_operatortype_macro_define(ot, "NLA_OT_duplicate");
|
||||
RNA_boolean_set(otmacro->ptr, "linked", true);
|
||||
WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate");
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
* \ingroup render
|
||||
*/
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <fcntl.h>
|
||||
#ifndef WIN32
|
||||
# include <unistd.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user