Cleanup: warnings
This commit is contained in:
parent
146f6cea55
commit
f5df1efa2f
|
@ -140,7 +140,7 @@ class AnnotationDrawingToolsPanel:
|
|||
layout.separator()
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.prop(gpd, "use_stroke_edit_mode", text="Enable Editing", icon='EDIT', toggle=True)
|
||||
col.prop(gpd, "use_stroke_edit_mode", text="Enable Editing", toggle=True) # was: icon='EDIT'
|
||||
|
||||
|
||||
class GreasePencilStrokeEditPanel:
|
||||
|
|
|
@ -976,7 +976,7 @@ size_t BLI_str_partition_ex(
|
|||
return end ? (size_t)(end - str) : strlen(str);
|
||||
}
|
||||
|
||||
size_t BLI_str_format_int_grouped_ex(char src[16], char dst[16], int num_len)
|
||||
static size_t BLI_str_format_int_grouped_ex(char src[16], char dst[16], int num_len)
|
||||
{
|
||||
char *p_src = src;
|
||||
char *p_dst = dst;
|
||||
|
@ -1027,7 +1027,7 @@ size_t BLI_str_format_int_grouped(char dst[16], int num)
|
|||
size_t BLI_str_format_uint64_grouped(char dst[16], uint64_t num)
|
||||
{
|
||||
char src[16];
|
||||
int num_len = sprintf(src, "%"PRIu64"",num);
|
||||
int num_len = sprintf(src, "%"PRIu64"", num);
|
||||
|
||||
return BLI_str_format_int_grouped_ex(src, dst, num_len);
|
||||
}
|
||||
|
|
|
@ -864,7 +864,7 @@ static bool raycastObjects(
|
|||
* \{ */
|
||||
|
||||
/* Test BoundBox */
|
||||
bool snap_bound_box_check_dist(BoundBox *bb, float lpmat[4][4], float win_size[2], float mval[2], float dist_px_sq)
|
||||
static bool snap_bound_box_check_dist(BoundBox *bb, float lpmat[4][4], float win_size[2], float mval[2], float dist_px_sq)
|
||||
{
|
||||
/* In vertex and edges you need to get the pixel distance from ray to BoundBox, see: T46099, T46816 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue