Files
opencv-MIRROR/modules/core/src
WalkingDevFlag 175dd57bdd Fix copyTo on empty fixed-type matrices (#28343)
PR #27972 added _dst.create(size(), type()) in copyTo's empty() block.
In Debug builds, Mat::release() was resetting flags to MAGIC_VAL,
clearing the type information and causing assertion failures when
destination has fixedType().

Preserve type flags in Mat::release() debug mode by using:
  flags = (flags & CV_MAT_TYPE_MASK) | MAGIC_VAL

Thanks to @akretz for suggesting this better approach.
2026-01-06 00:51:06 +05:30
..
2025-06-26 14:45:19 +02:00
2024-03-05 12:15:39 +03:00
2024-03-05 12:15:39 +03:00
2018-09-07 20:33:52 +09:00
2021-03-02 23:24:28 +00:00
2019-03-05 14:47:04 +03:00
2022-03-03 07:21:53 +09:00
2019-12-27 12:46:53 +00:00
2024-03-05 12:15:39 +03:00
2024-03-05 12:15:39 +03:00
2025-10-16 21:19:12 +09:00
2026-01-04 15:12:59 +01:00
2024-03-05 12:15:39 +03:00
2025-01-13 16:34:28 +01:00
2025-03-24 09:21:22 +03:00
2025-03-24 09:21:22 +03:00
2024-10-11 02:18:14 +02:00
2025-01-13 16:34:28 +01:00
2021-03-02 23:24:28 +00:00
2018-02-12 14:14:08 +03:00
2018-08-27 14:42:18 +03:00
2025-12-08 08:53:54 +01:00
2014-08-15 12:09:16 +04:00
2024-03-05 12:15:39 +03:00