diff options
author | Ray Molenkamp <github@lazydodo.com> | 2021-10-26 22:44:26 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2021-10-26 22:44:26 +0300 |
commit | 8422b24e1cc5a31719d2b4b96a823d4330f9da3a (patch) | |
tree | 8c46524172b13dc52fb10f9fccdb4eb4a56da268 /source/blender | |
parent | 0cf9794c7ef0c8c7dfdad4a2e2006b3708e42a93 (diff) |
Fix: Build issue on windows
Empty initializer is not appreciated by MSVC.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/object/object_add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index be8fe3e6db7..90caeecd91f 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -3630,7 +3630,7 @@ static int object_transform_to_mouse_exec(bContext *C, wmOperator *op) PropertyRNA *prop_matrix = RNA_struct_find_property(op->ptr, "matrix"); if (RNA_property_is_set(op->ptr, prop_matrix)) { uint objects_len; - Object **objects = BKE_view_layer_array_selected_objects(view_layer, NULL, &objects_len, {}); + Object **objects = BKE_view_layer_array_selected_objects(view_layer, NULL, &objects_len, {0}); float matrix[4][4]; RNA_property_float_get_array(op->ptr, prop_matrix, &matrix[0][0]); |