Disable Strict Pointer Mode in Blender Asset Tracer
Disable BAT's Strict Pointer Mode to work around issues with dangling pointers in the Blender Animation Studio files. These seem to be caused by not-perfectly-resynced library overrides. Ignoring those pointers seems to cause less problems than crashing on them.
This commit is contained in:
parent
666ae0fa90
commit
2d868ec724
@ -2,6 +2,8 @@
|
||||
|
||||
## Version 1.20 (2021-07-22)
|
||||
- Bump blender-asset-tracer version 1.3.1 -> 1.5.1.
|
||||
- Blender-asset-tracer "Strict Pointer Mode" disabled, to avoid issues with
|
||||
not-entirely-synced library overrides.
|
||||
|
||||
## Version 1.19 (2021-02-23)
|
||||
|
||||
|
@ -54,6 +54,8 @@ from bpy.props import (
|
||||
from .. import async_loop, pillar, project_specific, utils
|
||||
from ..utils import pyside_cache, redraw
|
||||
|
||||
import blender_asset_tracer.blendfile
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
# Global flag used to determine whether panels etc. can be drawn.
|
||||
@ -649,6 +651,12 @@ class FLAMENCO_OT_render(
|
||||
|
||||
self.log.debug("projdir: %s", projdir)
|
||||
|
||||
# Due to issues with library overrides and unsynced pointers, it's quite
|
||||
# common for the Blender Animation Studio to get crashes of BAT. To avoid
|
||||
# these, Strict Pointer Mode is disabled.
|
||||
|
||||
blender_asset_tracer.blendfile.set_strict_pointer_mode(False)
|
||||
|
||||
if is_shaman_url(prefs.flamenco_job_file_path):
|
||||
endpoint, _ = bat_interface.parse_shaman_endpoint(
|
||||
prefs.flamenco_job_file_path
|
||||
|
Reference in New Issue
Block a user