Hans Goudey
c6497dd9f7
Fix #119455 : Auto smooth versioning on append applies to existing IDs
...
When appending objects from an older file, versioning needs to run to add
an auto smooth modifier if necessary. However, this was running for all
objects rather than just the newly appended objects. It's quite wrong to
modify existing objects here, so add an explicit check for that. This could
improve performance as well, but skipping checks for objects when
the work is unnecessary.
The crash will hopefully be resolved by other improvements to the auto
smooth versioning (making it properly idempotent and running it again
should fix the problem with the hidden legacy flags still set). But I still think
this PR is worth committing, to be very explicit about only modifying new
objects in versioning code.
Pull Request: https://projects.blender.org/blender/blender/pulls/119467
2024-03-15 18:47:39 +01:00
..
2024-03-15 18:47:39 +01:00
2024-02-26 17:40:57 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-01-15 12:44:14 -05:00
2023-11-15 18:46:07 +01:00
2023-05-31 16:19:06 +02:00
2024-01-18 12:21:19 +01:00
2023-08-16 00:20:26 +10:00
2024-01-23 18:38:15 +01:00
2024-01-04 15:07:48 -05:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2023-12-29 15:08:59 -05:00
2024-01-06 01:47:39 +01:00
2024-01-21 19:13:46 +01:00
2024-02-01 09:21:55 +01:00
2024-02-01 09:21:55 +01:00
2024-02-02 17:01:20 +01:00
2023-09-03 13:37:50 +02:00
2024-02-03 18:13:34 +01:00
2024-02-02 10:02:25 +01:00
2024-02-02 10:02:25 +01:00
2024-01-21 19:34:20 +01:00
2024-01-21 19:49:58 +01:00
2024-01-21 19:26:31 +01:00
2024-03-13 15:52:53 +01:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2024-01-04 15:07:48 -05:00
2023-05-31 16:19:06 +02:00
2024-02-19 15:59:59 +01:00
2024-01-30 05:08:23 +01:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2024-01-15 12:44:14 -05:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2024-01-03 13:38:14 +01:00
2024-03-08 12:23:19 +01:00
2023-12-20 20:59:11 -05:00
2024-01-04 15:07:48 -05:00
2024-01-04 15:07:48 -05:00
2024-01-22 13:47:13 +01:00
2024-01-18 12:21:19 +01:00
2024-02-02 12:04:37 +01:00
2023-11-16 12:00:26 +01:00
2023-12-08 16:40:06 -05:00
2023-08-16 00:20:26 +10:00
2024-02-02 19:55:06 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00
2023-10-30 21:40:35 +01:00
2023-11-27 16:14:49 +01:00
2024-02-01 09:21:55 +01:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2024-01-19 12:08:48 -05:00
2024-02-06 22:28:10 +11:00
2024-02-19 15:59:59 +01:00
2023-12-26 23:59:44 -05:00
2024-02-19 15:59:59 +01:00
2023-12-08 16:40:06 -05:00
2023-08-16 00:20:26 +10:00
2023-12-14 12:32:11 +11:00
2023-12-04 15:23:24 -05:00
2024-01-15 11:39:50 -05:00
2023-12-14 12:32:11 +11:00
2023-07-31 13:02:30 +10:00
2024-01-11 16:46:46 +11:00
2023-12-17 16:04:40 +11:00
2024-01-06 03:51:45 +01:00
2023-12-08 16:40:06 -05:00
2023-08-16 00:20:26 +10:00
2024-02-01 12:43:39 +01:00
2023-08-16 00:20:26 +10:00
2024-01-12 14:30:34 +01:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00
2023-11-27 16:14:49 +01:00
2023-09-27 14:47:50 +10:00
2023-11-27 09:54:36 +11:00
2023-08-16 00:20:26 +10:00
2024-02-02 10:43:17 +11:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2023-09-04 18:02:16 +02:00
2024-03-12 15:49:20 +01:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2023-07-04 17:03:02 +02:00
2023-08-16 00:20:26 +10:00
2023-12-13 11:08:03 +01:00
2024-01-19 20:29:38 +01:00
2024-02-01 20:32:24 +01:00
2024-02-08 20:55:34 +01:00
2023-07-31 13:02:30 +10:00
2023-08-16 00:20:26 +10:00
2024-01-31 17:08:09 +01:00
2023-08-16 00:20:26 +10:00
2023-11-27 16:14:49 +01:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2023-12-20 17:57:24 +01:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2024-02-22 19:25:59 +01:00
2023-09-25 18:00:28 +02:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2024-01-31 13:00:28 -05:00
2024-01-22 13:47:13 +01:00
2024-01-04 15:07:48 -05:00
2024-01-30 14:56:04 -05:00
2024-01-23 21:10:33 +01:00
2024-01-12 11:20:35 +01:00
2024-01-24 11:46:39 -05:00
2024-01-24 18:18:14 +01:00
2023-11-03 09:27:59 +01:00
2023-11-27 16:10:43 +01:00
2023-11-30 10:42:16 +11:00
2023-08-16 00:20:26 +10:00
2024-03-15 18:47:39 +01:00
2024-01-19 12:08:48 -05:00
2023-08-16 00:20:26 +10:00
2023-10-30 21:40:35 +01:00
2023-11-27 09:30:52 +11:00
2023-12-20 20:59:11 -05:00
2023-12-20 20:58:38 -05:00
2024-01-15 11:39:50 -05:00
2024-02-01 09:21:55 +01:00
2023-12-08 16:40:06 -05:00
2024-01-19 12:08:48 -05:00
2024-03-02 23:56:37 +01:00
2024-02-19 15:59:59 +01:00
2023-11-30 10:42:18 +11:00
2023-12-19 14:57:49 +01:00
2024-01-15 12:44:14 -05:00
2024-01-26 12:40:01 +01:00
2024-02-22 14:40:21 +01:00
2024-01-21 13:22:16 +01:00
2023-11-07 09:50:51 +01:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2023-11-16 12:00:26 +01:00
2024-01-12 13:56:28 +01:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2024-01-26 18:43:13 -05:00
2023-10-20 16:47:41 +02:00
2024-01-26 11:24:55 +01:00
2024-01-19 20:29:38 +01:00
2024-01-05 13:26:22 -05:00
2023-08-18 08:56:12 +10:00
2024-02-01 09:21:55 +01:00
2023-08-16 00:20:26 +10:00
2024-02-02 20:46:45 +11:00
2023-12-07 12:45:27 +11:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2024-01-19 20:29:38 +01:00
2023-11-27 09:54:36 +11:00
2023-12-19 14:57:49 +01:00
2024-01-11 16:46:46 +11:00
2024-01-31 18:57:06 +01:00
2023-08-16 00:20:26 +10:00
2023-12-14 16:17:55 +01:00
2024-02-04 11:55:45 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-10-30 21:40:35 +01:00
2023-08-16 00:20:26 +10:00
2024-01-11 11:01:50 -05:00
2024-01-03 13:38:14 +01:00
2023-08-16 00:20:26 +10:00
2023-09-19 11:09:20 +10:00
2023-06-07 14:17:37 +02:00
2023-09-14 13:25:24 +10:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2023-11-28 16:13:09 -05:00
2024-01-11 16:46:46 +11:00
2023-11-28 16:13:09 -05:00
2024-02-19 15:59:59 +01:00
2023-12-20 15:32:52 +01:00
2024-01-08 11:24:37 +11:00
2024-01-08 11:24:37 +11:00
2023-12-20 15:32:52 +01:00
2024-01-10 15:20:29 +01:00
2023-12-20 15:32:52 +01:00
2024-01-04 15:07:48 -05:00
2024-01-04 15:07:48 -05:00
2024-02-03 18:13:34 +01:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-06-19 12:40:37 +10:00
2024-02-19 15:59:59 +01:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00