Also try a comment with an apostrophy in it. I had all subsequent lines act as though they were within a string quote
my bad not to have .py on text title
I have just re-tested with the daily build "blender-4.2.0-alpha+main.fbf47b9a126a-windows.amd64-release" and I still get a crash.
@mano-wii I believe the crash was also reported in #118299, should be fixed by 88ba4dfaa3.
I have tested with latest nightly build (blender-4.2.0-alpha+main.fbf47b9a126a-windows.amd64-release)…
So I guess this leaves us with the following:
- @jamestomk : can you come up with example files not using
Library Override templates
that still have an issue with using the API…
It is unfortunate that DAZ imports do not have such a rig.
- open the problem file, notice that object "JBUJeans_9015.Shape.001" is not a child of "rig-dz0.004"
Maybe the file was saved in a later step? "JBUJeans_9015.Shape.001" appears to be…
I think the operator is primarily meant for UI usage.
Why not use the API for that?
https://docs.blender.org/api/4.2/bpy.types.IDOverrideLibrary.html#bpy.types.IDOverrideLibrary …
UPDATE: For some reason , it was the set_select that was failing with the view layer error, not the hierarchy.
when I used the coding:
bpy.ops.outliner.liboverride_troubleshoot_operation( type='OVERRIDE_LIBRARY_RESYNC_HIERARCHY', view_layer=bpy.context.view_layer, selection_set='SELECTED')
…