Kévin Dietrich
753edafcb7
Alembic: store a pointer to the object reader in the cache modifiers and
...
constraints.
This avoids traversing the archive everytime object data is needed and
gives an overall consistent ~2x speedup here with files containing
between 136 and 500 Alembic objects. Also this somewhat nicely de-
duplicates code between data creation (upon import) and data streaming
(modifiers and constraints).
The only worying part is what happens when a CacheFile is deleted and/or
has its path changed. For now, we traverse the whole scene and for each
object using the CacheFile we free the pointer and NULL-ify it (see
BKE_cachefile_clean), but at some point this should be re-considered and
make use of the dependency graph.
2016-10-29 12:23:09 +02:00
..
2016-10-29 12:23:09 +02:00
2016-07-21 16:54:36 +02:00
2016-07-30 16:46:13 +10:00
2016-07-21 16:54:36 +02:00
2016-09-15 09:51:15 +02:00
2016-06-25 21:19:54 +10:00
2016-09-21 23:16:38 +02:00
2016-06-24 10:05:18 +10:00
2016-04-25 19:27:45 +10:00
2016-07-21 16:54:36 +02:00
2016-07-02 10:08:33 +10:00
2016-10-29 12:23:09 +02:00
2016-07-21 16:54:36 +02:00
2015-09-23 22:57:00 +10:00
2016-07-30 14:57:48 +10:00
2016-08-16 15:46:36 +03:00
2016-08-01 09:06:40 +10:00
2016-08-06 10:58:13 +02:00
2016-07-21 16:54:36 +02:00
2016-05-17 03:07:40 +10:00
2016-02-09 00:19:28 +11:00
2015-08-27 12:10:01 +02:00
2016-09-05 10:14:07 +02:00
2016-06-25 11:24:25 +10:00
2016-05-21 16:09:35 +02:00
2015-12-14 00:16:05 +11:00
2016-08-16 15:46:36 +03:00
2016-07-30 16:46:13 +10:00
2016-07-21 16:54:36 +02:00
2016-09-18 21:44:42 +02:00
2016-07-04 11:01:32 +03:00
2016-08-04 15:11:21 +02:00
2016-07-21 16:54:36 +02:00
2016-10-27 13:06:14 +02:00
2016-08-08 17:51:15 +02:00
2016-07-21 16:54:36 +02:00
2016-07-14 18:33:12 +02:00
2016-07-21 16:54:36 +02:00
2016-07-21 16:54:36 +02:00
2016-06-07 17:27:52 +10:00
2016-10-19 14:32:08 +02:00
2016-09-15 11:50:56 +02:00
2016-10-18 09:51:33 -06:00
2016-09-18 21:44:42 +02:00
2016-08-08 17:51:15 +02:00
2016-07-21 16:54:36 +02:00
2016-08-12 14:59:11 +02:00
2016-07-21 16:54:36 +02:00
2016-07-21 16:54:36 +02:00
2016-07-21 16:54:36 +02:00
2016-05-18 22:46:29 +10:00
2016-07-29 23:13:31 +02:00
2016-07-21 16:54:36 +02:00
2016-01-21 08:03:47 +11:00
2016-10-13 14:10:46 +02:00
2015-11-12 18:54:26 +11:00
2016-07-28 19:32:36 +02:00
2016-08-06 10:11:33 +03:00
2016-02-13 18:59:56 +11:00
2016-08-11 13:36:29 +03:00
2015-11-13 15:26:22 +01:00
2015-10-08 15:05:37 +02:00
2016-09-23 14:25:15 +02:00
2016-07-21 16:54:36 +02:00
2016-06-22 17:53:50 +02:00
2016-08-09 14:33:00 +02:00
2016-03-07 11:24:03 +11:00
2016-05-11 20:20:25 +10:00
2016-01-09 04:37:53 +01:00
2016-07-21 16:54:36 +02:00
2016-07-21 16:54:36 +02:00
2015-11-04 21:30:25 +05:00
2015-10-25 17:44:32 +11:00
2016-07-21 16:54:36 +02:00
2016-07-21 16:54:36 +02:00
2016-08-16 13:30:40 +02:00
2016-05-03 13:52:07 +10:00
2016-07-21 16:54:36 +02:00
2016-08-06 10:58:13 +02:00
2016-08-16 15:46:36 +03:00