Fix T69976: BAT does not work with FluidSimModifier in Blender 2.81
The `point_cache` pointer was removed from Blender in
{rBd663ec48c06a083de74e90dd9c605e98b28baa37}, and was unused before that
commit.
This commit is contained in:
parent
af63f9c3c8
commit
5988f3599a
@ -9,6 +9,7 @@ changed functionality, fixed bugs).
|
|||||||
- Windows compatibility fix when using mapped network storage.
|
- Windows compatibility fix when using mapped network storage.
|
||||||
- Windows compatibility fix when using different assets with the same path but on different drives.
|
- Windows compatibility fix when using different assets with the same path but on different drives.
|
||||||
- Allow setting the Shaman JWT authentication token in the `SHAMAN_JWT_TOKEN` environment variable.
|
- Allow setting the Shaman JWT authentication token in the `SHAMAN_JWT_TOKEN` environment variable.
|
||||||
|
- Blender 2.81 compatibility fix.
|
||||||
|
|
||||||
|
|
||||||
## Version 1.1.1 (2019-04-18)
|
## Version 1.1.1 (2019-04-18)
|
||||||
|
|||||||
@ -215,12 +215,6 @@ def modifier_fluid_sim(ctx: ModifierContext, modifier: blendfile.BlendFileBlock,
|
|||||||
yield result.BlockUsage(fss, bpath, path_full_field=field,
|
yield result.BlockUsage(fss, bpath, path_full_field=field,
|
||||||
is_sequence=True, block_name=block_name)
|
is_sequence=True, block_name=block_name)
|
||||||
|
|
||||||
# TODO(Sybren): check whether this is actually used
|
|
||||||
# (in Blender's source there is a point_cache pointer, but it's NULL in my test)
|
|
||||||
pointcache = modifier.get_pointer(b'point_cache')
|
|
||||||
if pointcache:
|
|
||||||
yield from _walk_point_cache(ctx, block_name, modifier.bfile, pointcache, cdefs.PTCACHE_EXT)
|
|
||||||
|
|
||||||
|
|
||||||
@mod_handler(cdefs.eModifierType_Smokesim)
|
@mod_handler(cdefs.eModifierType_Smokesim)
|
||||||
def modifier_smoke_sim(ctx: ModifierContext, modifier: blendfile.BlendFileBlock, block_name: bytes) \
|
def modifier_smoke_sim(ctx: ModifierContext, modifier: blendfile.BlendFileBlock, block_name: bytes) \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user