Files
test/source/blender/blenkernel/intern
Alexander Gavrilov 0e5e53c651 Fix crash in OpenVDB highres smoke cache when seeking to frame 0.
This code obviously should also use the cache_fields flag variable,
like the code for reading the lowres data in the same function.
This is because fluid_fields actually represents the old state before
smoke was reallocated to match cache_fields read from the file, and if
it has some fields enabled that aren't allocated any more, it crashes.

This also fixes a reverse glitch: when a file was loaded with
the current frame in the middle of a baked smoke+fire simulation,
smoke appeared immediately, but the fire didn't until the frame
was changed. The reason is the same: after file load no fields
are initially allocated and thus fluid_fields is 0.
2016-08-20 12:13:20 +03:00
..
2015-11-16 15:19:30 +11:00
2016-08-16 18:19:52 +02:00
2016-07-16 17:48:57 +10:00
2016-06-25 21:19:54 +10:00
2016-08-06 10:58:13 +02:00
2016-08-06 10:58:13 +02:00
2016-07-16 17:48:57 +10:00
2016-08-06 10:58:13 +02:00
2016-08-06 10:58:13 +02:00
2016-07-30 16:46:13 +10:00
2015-08-06 22:33:45 +10:00
2015-10-07 15:02:06 +11:00
2016-08-08 17:51:15 +02:00
2016-07-31 16:52:44 +10:00
2016-08-06 10:58:13 +02:00
2016-08-08 17:51:15 +02:00
2016-07-02 10:08:33 +10:00
2016-07-25 09:31:56 +02:00
2016-08-16 13:30:40 +02:00
2016-01-19 04:54:39 +11:00
2016-01-16 15:59:37 +01:00
2016-07-11 23:06:14 +10:00
2016-07-11 17:17:08 +10:00
2016-08-19 01:20:35 +02:00
2016-05-11 20:20:25 +10:00
2016-08-16 18:19:52 +02:00
2014-11-28 22:16:14 +01:00
2016-07-21 18:16:08 -04:00
2016-05-03 13:52:07 +10:00
2016-08-16 18:19:52 +02:00