EternalTrail / eeVR

Blender addon for rendering equirectangular and dome projection images using the eevee rendering engine.
GNU General Public License v3.0
175 stars 47 forks source link

Cast camera resoultion to Int for newer py api (undocumented?) #38

Closed bkurdali closed 2 years ago

bkurdali commented 2 years ago

Newer Blenders require render resolution to be Ints as opposed to Floats.

EternalTrail commented 2 years ago

Do int values still work for older versions of blender? If they don't it will need to be added at some point.

nagadomi commented 2 years ago

In older versions of Blender, when a float value was assigned to scene.resolution_(x|y), it was automatically cast to an int value. Since Blender 3.0, type checking has been added. So there is no compatibility issue, in my opinion.