Files
test/source/blender/blenkernel
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-05-11 12:39:39 +10:00
2016-07-30 16:46:13 +10:00
2015-05-06 11:13:42 +10:00
2016-08-03 23:39:36 +02:00
2016-07-02 10:08:33 +10:00
2016-08-06 10:58:13 +02:00
2016-08-06 10:58:13 +02:00
2016-05-17 03:07:40 +10:00
2015-07-25 07:44:25 +10:00
2015-08-01 12:37:52 +10:00
2016-07-30 16:46:13 +10:00
2016-08-04 15:11:21 +02:00
2016-08-08 17:51:15 +02:00
2016-07-14 18:33:12 +02:00
2016-08-06 10:58:13 +02:00
2016-08-08 17:51:15 +02:00
2015-11-12 18:54:26 +11:00
2016-05-11 20:20:25 +10:00
2016-08-16 13:30:40 +02:00
2016-05-03 13:52:07 +10:00
2015-04-06 10:40:12 -03:00
2015-04-06 10:40:12 -03:00
2015-04-07 08:46:48 +10:00
2016-08-06 10:58:13 +02:00