techartorg / bqt

A Blender add-on to support & manage Qt Widgets in Blender (PySide2)
https://github.com/techartorg/bqt/wiki
Mozilla Public License 2.0
162 stars 23 forks source link

break command line rendering after bqt installed #55

Closed atticus-lv closed 1 year ago

atticus-lv commented 1 year ago

cmd: "mypath/blender.exe" --factory-startup -b "my.blend" crashlog blender.crash.txt I throught puting script in blender's startup folder is a bad idea

hannesdelbeke commented 1 year ago

Do you have more info on how to reproduce this issue?

factory startup should skip any startup. So surprised that bqt still somehow runs and crashes blender

-b will run headless mode

But how do you run the render script? found the info in the blender docs. passing a scene appears to render it.

hannesdelbeke commented 1 year ago

just tested this and --factory-startup launches blender without qt, as expected

atticus-lv commented 1 year ago

Is this bug fixed? Seems that a great change happended to how pyqt works in blender

hannesdelbeke commented 1 year ago

AFAIK if you use --factory-startup it should be ok. but default behaviour still runs in this bug. so users might not be aware and still encounter this.

ideally bqt can detect if blender runs in batch/render mode, and disable itself automatically. without relying on custom settings from the user.

hannesdelbeke commented 1 year ago

bqt now however is an addon, so you can also just disable the addon before you run blender in batch/render mode