diff options
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/string.c | 4 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 732efe603fe..296e05a709d 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -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: diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index 3deab9b2ae9..25375278901 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -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); } diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index fd68f941d24..e28f00e6509 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -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 */ |