Sculpt: Fix #107123: New normals impl. for PBVH_FACES #107456
|
@ -474,7 +474,9 @@ static int get_timecode(MovieClip *clip, int flag)
|
|||
return clip->proxy.tc;
|
||||
}
|
||||
|
||||
static void get_sequence_filepath(const MovieClip *clip, const int framenr, char *filepath)
|
||||
static void get_sequence_filepath(const MovieClip *clip,
|
||||
const int framenr,
|
||||
char filepath[FILE_MAX])
|
||||
{
|
||||
ushort numlen;
|
||||
char head[FILE_MAX], tail[FILE_MAX];
|
||||
|
@ -489,7 +491,7 @@ static void get_sequence_filepath(const MovieClip *clip, const int framenr, char
|
|||
|
||||
if (numlen) {
|
||||
BLI_path_sequence_encode(filepath,
|
||||
sizeof(filepath),
|
||||
FILE_MAX,
|
||||
head,
|
||||
tail,
|
||||
numlen,
|
||||
|
@ -503,8 +505,11 @@ static void get_sequence_filepath(const MovieClip *clip, const int framenr, char
|
|||
}
|
||||
|
||||
/* supposed to work with sequences only */
|
||||
static void get_proxy_filepath(
|
||||
const MovieClip *clip, int proxy_render_size, bool undistorted, int framenr, char *filepath)
|
||||
static void get_proxy_filepath(const MovieClip *clip,
|
||||
int proxy_render_size,
|
||||
bool undistorted,
|
||||
int framenr,
|
||||
char filepath[FILE_MAX])
|
||||
{
|
||||
int size = rendersize_to_number(proxy_render_size);
|
||||
char dir[FILE_MAX], clipdir[FILE_MAX], clipfile[FILE_MAX];
|
||||
|
|
|
@ -615,7 +615,7 @@ struct StrokeCache {
|
|||
float symm_rot_mat_inv[4][4];
|
||||
|
||||
/* Accumulate mode. Note: inverted for SCULPT_TOOL_DRAW_SHARP. */
|
||||
bool accum;
|
||||
bool accum;
|
||||
|
||||
float anchored_location[3];
|
||||
|
||||
|
|
|
@ -884,7 +884,7 @@ static void pack_island_xatlas(const Span<UVAABBIsland *> island_indices,
|
|||
float max_u = 0.0f;
|
||||
float max_v = 0.0f;
|
||||
|
||||
int scan_line = 0; /* Current "scan_line" of occupancy bitmap. */
|
||||
int scan_line = 0; /* Current "scan_line" of occupancy bitmap. */
|
||||
int traced_islands = 0; /* Which islands are currently traced in `occupancy`. */
|
||||
int i = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue