Sean Kim
cbc33871c6
Fix #129425 : Using Voxel Remesh in sculpt mode can crash
...
When using the Voxel Remesh operator, there are two possible sources of
crashes currently:
* TBB task stealing in nested parallel loops with thread local data
* Null dereference of PBVH data when pushing sculpt undo steps
To fix the former issue, this commit guards the
`threading::parallel_for` internal function with
`threading::isolate_task` to prevent possible task stealing and
corruption of the thread local data.
Additionally, it has the effect of fixing debug asserts inside
`array_utils::gather` due to the this task stealing.
To fix the latter issue, this commit adds a call to
`BKE_sculpt_update_object_for_edit` to ensure that this data is
populated.
Original PR: !129704
Pull Request: https://projects.blender.org/blender/blender/pulls/129823
2024-11-13 15:19:05 +01:00
..
2024-03-18 15:04:12 +01:00
2024-11-13 13:28:59 +01:00
2024-04-04 10:55:10 +11:00
2024-05-13 16:07:12 +02:00
2024-07-09 09:16:50 +02:00
2024-04-24 17:01:22 +02:00
2024-10-10 14:20:21 +02:00
2024-05-20 10:14:41 -04:00
2024-04-04 10:55:10 +11:00
2024-04-04 10:55:13 +11:00
2024-05-13 15:42:33 +02:00
2024-05-03 10:20:01 -04:00
2024-04-24 17:01:22 +02:00
2024-07-12 10:12:03 +02:00
2024-07-12 10:12:03 +02:00
2024-06-10 21:26:47 +02:00
2024-11-12 13:30:05 +01:00
2024-03-18 15:04:12 +01:00
2024-06-14 11:27:36 +02:00
2024-05-13 16:07:12 +02:00
2024-04-23 18:56:41 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-09-12 11:03:42 +02:00
2024-03-26 13:07:04 -04:00
2024-08-06 18:20:02 +02:00
2024-09-12 14:36:15 +02:00
2024-10-10 12:09:07 +02:00
2024-09-11 11:57:52 +02:00
2024-03-18 15:04:12 +01:00
2024-11-05 19:29:16 +01:00
2024-05-21 20:41:16 +02:00
2024-04-18 16:48:19 +02:00
2024-04-24 17:01:22 +02:00
2024-03-18 15:04:12 +01:00
2024-06-17 17:42:38 +02:00
2024-04-03 10:22:05 +11:00
2024-04-03 10:22:05 +11:00
2024-06-02 20:36:33 -04:00
2024-05-20 13:18:24 -04:00
2024-05-16 14:53:09 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-07-08 15:01:18 +02:00
2024-04-12 16:16:55 -04:00
2024-06-18 18:29:25 +02:00
2024-05-27 18:46:19 +02:00
2024-03-18 15:04:12 +01:00
2024-05-25 10:41:07 -04:00
2024-08-06 19:04:22 +02:00
2024-08-06 19:04:22 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-05-20 10:14:41 -04:00
2024-05-30 10:24:04 +02:00
2024-06-14 20:42:50 +02:00
2024-05-02 17:17:04 +02:00
2024-04-24 17:01:22 +02:00
2024-06-19 12:08:27 +02:00
2024-04-24 17:01:22 +02:00
2024-03-28 20:57:50 +11:00
2024-06-19 12:16:24 +02:00
2024-03-18 15:04:12 +01:00
2024-04-24 17:01:22 +02:00
2024-03-18 15:04:12 +01:00
2024-05-20 13:18:24 -04:00
2024-10-10 10:29:29 +02:00
2024-04-03 00:36:29 +02:00
2024-05-20 02:58:13 +02:00
2024-09-12 10:43:05 +02:00
2024-04-01 22:20:09 +11:00
2024-03-18 15:04:12 +01:00
2024-04-25 12:02:15 +10:00
2024-05-07 15:06:57 +02:00
2024-08-16 12:41:53 +02:00
2024-04-15 06:15:46 +02:00
2024-05-20 13:18:24 -04:00
2024-06-14 15:43:34 +02:00
2024-03-18 15:04:12 +01:00
2024-07-12 10:12:03 +02:00
2024-05-08 12:27:40 +02:00
2024-03-25 17:05:39 -04:00
2024-05-20 13:18:24 -04:00
2024-03-25 17:05:39 -04:00
2024-03-18 15:04:12 +01:00
2024-05-31 16:23:31 +02:00
2024-06-20 15:24:38 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-04-24 17:01:22 +02:00
2024-06-06 09:55:13 +10:00
2024-03-18 15:04:12 +01:00
2024-05-30 14:12:26 +02:00
2024-05-21 17:22:41 +02:00
2024-04-25 15:21:14 +02:00
2024-05-31 12:28:18 +02:00
2024-03-18 15:04:12 +01:00
2024-05-20 15:24:03 +02:00
2024-06-13 19:58:22 +02:00
2024-03-26 13:07:04 -04:00
2024-03-26 13:07:04 -04:00
2024-06-13 19:58:22 +02:00
2024-10-10 10:18:23 +02:00
2024-05-13 16:07:12 +02:00
2024-03-18 15:04:12 +01:00
2024-05-10 18:54:53 +02:00
2024-06-27 19:15:55 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-05-22 18:15:19 +02:00
2024-07-11 11:04:08 +02:00
2024-09-11 14:12:44 +02:00
2024-03-18 15:04:12 +01:00
2024-04-24 17:01:22 +02:00
2024-05-02 17:17:03 +02:00
2024-03-26 15:39:39 -04:00
2024-03-18 15:04:12 +01:00
2024-05-20 10:14:41 -04:00
2024-05-02 17:17:04 +02:00
2024-04-18 13:52:20 +02:00
2024-06-21 20:52:18 +02:00
2024-10-11 14:30:51 +02:00
2024-03-18 15:04:12 +01:00
2024-06-25 16:42:30 +02:00
2024-03-18 15:04:12 +01:00
2024-11-13 10:38:05 +01:00
2024-03-18 15:04:12 +01:00
2024-07-04 15:41:49 +02:00
2024-05-13 16:07:12 +02:00
2024-06-25 11:00:17 +02:00
2024-05-13 16:07:12 +02:00
2024-05-13 16:07:12 +02:00
2024-05-24 17:43:22 +02:00
2024-09-23 12:47:55 +02:00
2024-05-13 16:28:19 +02:00
2024-04-24 17:01:22 +02:00
2024-05-13 16:07:12 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-04-08 13:08:36 +02:00
2024-05-13 15:58:04 +02:00
2024-04-11 17:44:27 +10:00
2024-10-10 12:36:32 +02:00
2024-05-27 19:33:35 +02:00
2024-08-06 19:04:28 +02:00
2024-04-03 14:07:04 +11:00
2024-05-16 14:53:09 +02:00
2024-04-11 04:33:25 +02:00
2024-03-18 15:04:12 +01:00
2024-05-20 13:18:24 -04:00
2024-11-13 13:28:59 +01:00
2024-05-28 17:12:45 +02:00
2024-03-18 15:04:12 +01:00
2024-04-01 13:38:06 -04:00
2024-04-18 13:52:20 +02:00
2024-09-12 10:37:53 +02:00
2024-05-20 13:11:18 -04:00
2024-03-18 15:04:12 +01:00
2024-05-28 23:48:37 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-11-13 15:19:05 +01:00
2024-05-07 12:29:32 +02:00
2024-03-18 15:04:12 +01:00
2024-05-20 02:58:13 +02:00
2024-03-18 15:04:12 +01:00
2024-05-07 12:29:32 +02:00
2024-09-12 10:43:05 +02:00
2024-05-20 13:18:24 -04:00
2024-06-20 15:24:38 +02:00
2024-04-24 17:01:22 +02:00
2024-04-19 09:03:31 -04:00
2024-06-02 20:36:33 -04:00
2024-04-19 09:03:31 -04:00
2024-03-18 15:04:12 +01:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-03-18 15:04:12 +01:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-10-10 09:55:46 +02:00
2024-04-19 09:03:31 -04:00
2024-06-02 20:36:33 -04:00
2024-07-04 14:35:19 +02:00
2024-05-05 09:30:02 +02:00
2024-05-13 16:07:12 +02:00
2024-04-23 18:56:41 +02:00
2024-05-13 16:07:12 +02:00
2024-05-13 16:07:12 +02:00
2024-05-13 16:07:12 +02:00
2024-05-27 19:33:35 +02:00
2024-04-08 16:19:40 +02:00
2024-05-31 16:23:31 +02:00
2024-04-25 15:21:14 +02:00
2024-04-03 00:36:29 +02:00
2024-05-31 11:51:36 +02:00
2024-08-06 19:04:22 +02:00
2024-04-11 20:47:07 +10:00
2024-05-22 15:04:44 +02:00
2024-05-01 11:49:48 -04:00
2024-08-07 18:19:46 +02:00
2024-03-18 15:04:12 +01:00
2024-04-01 16:47:57 +11:00
2024-03-18 15:04:12 +01:00
2024-04-30 16:02:08 -04:00
2024-07-05 16:54:29 +02:00
2024-06-02 20:36:33 -04:00
2024-06-04 16:06:25 -04:00
2024-04-19 15:57:06 +10:00
2024-06-04 16:06:25 -04:00
2024-04-04 10:55:22 +11:00
2024-08-07 11:15:56 +02:00
2024-04-24 17:01:22 +02:00
2024-03-25 15:49:25 -04:00
2024-03-26 13:07:04 -04:00
2024-07-02 11:45:39 +10:00
2024-05-20 15:24:03 +02:00
2024-03-26 23:00:59 +11:00
2024-09-23 12:47:55 +02:00
2024-10-10 12:47:19 +02:00
2024-10-10 10:48:05 +02:00
2024-06-06 09:55:13 +10:00
2024-05-20 13:11:18 -04:00
2024-05-14 06:49:30 +02:00
2024-04-22 14:44:05 +02:00
2024-03-18 15:04:12 +01:00
2024-06-05 18:36:13 +02:00
2024-04-19 09:03:31 -04:00
2024-06-02 20:36:33 -04:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:31 -04:00
2024-04-19 09:03:48 -04:00
2024-04-19 09:03:39 -04:00
2024-04-19 09:03:31 -04:00
2024-05-20 23:07:14 -04:00
2024-04-22 13:28:10 +02:00
2024-04-19 09:03:31 -04:00
2024-04-20 12:41:23 +10:00
2024-04-19 09:03:48 -04:00
2024-06-02 20:36:33 -04:00
2024-03-18 15:04:12 +01:00
2024-04-24 17:01:22 +02:00
2024-05-13 16:07:12 +02:00
2024-03-18 15:04:12 +01:00
2024-05-17 15:56:57 +02:00
2024-05-17 15:56:57 +02:00
2024-03-18 15:04:12 +01:00
2024-05-21 13:17:35 +10:00
2024-04-22 19:52:47 +02:00
2024-06-24 21:38:21 +02:00
2024-04-22 13:10:16 +02:00
2024-07-03 20:35:46 -07:00
2024-07-04 20:18:06 +02:00
2024-05-27 13:35:53 +02:00
2024-07-05 17:55:04 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-06-21 15:08:55 +02:00
2024-03-18 15:04:12 +01:00
2024-05-24 17:43:22 +02:00
2024-07-05 18:05:27 +02:00
2024-10-11 14:19:28 +03:00
2024-03-18 15:04:12 +01:00