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:
@@ -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