bpycv icon indicating copy to clipboard operation
bpycv copied to clipboard

AttributeError: 'ImageFormatSettings' object has no attribute 'use_zbuffer'

Open BhavyeMathur opened this issue 1 year ago • 2 comments

Hey! I was looking to use bpycv on Blender 4.0 but ran into this error while executing the test script:

AttributeError: 'ImageFormatSettings' object has no attribute 'use_zbuffer'

It appears the use_zbuffer attribute of the ImageFormatSettings struct was removed sometime between Blender 3.4 and 4.0.

It is important for me to use Blender 4.0 to benefit from the new GPU acceleration for Apple Silicon. I was wondering if bpycv could be updated to support Blender 4.0.

I would also be willing to contribute a pull request, but would appreciate additional guidance.

BhavyeMathur avatar Oct 18 '24 04:10 BhavyeMathur

您好,您的邮件我已经接收。

zsy950116 avatar Oct 18 '24 04:10 zsy950116

I personally don't have time to port it to blender 4.0 in the near future, but contributions are welcome. The ported code is compatible with blender 3.0 just fine!

DIYer22 avatar Oct 18 '24 04:10 DIYer22

bpycv now supports Blender 4.5.

DIYer22 avatar Aug 05 '25 05:08 DIYer22

您好,您的邮件我已经接收。

zsy950116 avatar Aug 05 '25 05:08 zsy950116