Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-06 16:58:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-07 01:15:07 +0300
commitb4a77a351e31256c91e573b85b7252e3ca6d61e7 (patch)
tree9db5ba44e217789f632f90d44babafa4aea1da5f /source/blender/editors/space_node
parentd5c24f2030ecbd109f54bd49c254fd028c30cc00 (diff)
Cleanup: add trailing commas to structs
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_gizmo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_gizmo.c b/source/blender/editors/space_node/node_gizmo.c
index 303962138a8..bf3af43bcc1 100644
--- a/source/blender/editors/space_node/node_gizmo.c
+++ b/source/blender/editors/space_node/node_gizmo.c
@@ -293,7 +293,7 @@ static void gizmo_node_crop_prop_matrix_set(
const bool ny = rct.ymin > rct.ymax;
BLI_rctf_resize(&rct, fabsf(matrix[0][0]), fabsf(matrix[1][1]));
BLI_rctf_recenter(&rct, (matrix[3][0] / dims[0]) + 0.5f, (matrix[3][1] / dims[1]) + 0.5f);
- BLI_rctf_isect(&(rctf){.xmin = 0, .ymin = 0, .xmax = 1, .ymax = 1}, &rct, &rct);
+ BLI_rctf_isect(&(rctf){ .xmin = 0, .ymin = 0, .xmax = 1, .ymax = 1, }, &rct, &rct);
if (nx) {
SWAP(float, rct.xmin, rct.xmax);
}