kevancress / MeasureIt_ARCH

MeasureIt_ARCH is an addon for Blender, that adds tools to create design documentation and technical drawings that can be previewed within Blender's 3D viewport, and exported as images, vector graphics or .dxf files. Read the Doc's here:
https://kevancress.github.io/MeasureIt_ARCH/
Other
265 stars 38 forks source link

MeasureIT_ARCH Views no longer sets View Layer #287

Open baldyman01 opened 2 weeks ago

baldyman01 commented 2 weeks ago

Selecting a View in the MeasureIT_ARCH views menu does not switch View Layer on Blender 4.2.2.

4.2.0 still works as expected.

Cheers Pete

kevancress commented 1 week ago

hmm probably just a small api change between versions. I'll look into this today

kevancress commented 1 week ago

@baldyman01

I'm not able to reproduce this in my files in Blender 4.2.2 LTS or the 4.3 Beta... Could you post an example file where this is happening?

Thanks! Kev

kevancress commented 1 week ago

Oh wait nevermind found it! it has to do with the render engine enum, if the view your switching to is set to Eevee then the view change fails because the engine name changed to eevee_next in the api, and my version checking code was only making the enum swap for version 4.2.0!

kevancress commented 1 week ago

Okay should be fixed in 8960d1e9c2920114841102f49ce5a8fb3fa76a0f. Give it a try and let me know if it works for you!