This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
AttributeError: 'Instance' object has no attribute 'poly_count'
EFFECT OF CHANGE
Fixed crash if extruded curve object applied with emission material.
Fixed error 'poly_count' after the final render ends.
TECHNICAL STEPS
Made a condition for obj variable in instance.py. now it's instance.object or instance.instance_object.
Fixed argument position in instance.sync_update.
Code improvements.
PURPOSE
In general, the issue is related to the new approach of instances sync (https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderBlenderAddon/pull/592) The issue is that we create
pyrpr.Instance
frompyrpr.Instance
. It's not correct and causes the errors below:EFFECT OF CHANGE
Fixed crash if extruded curve object applied with emission material. Fixed error
'poly_count'
after the final render ends.TECHNICAL STEPS
Made a condition for
obj
variable in instance.py. now it'sinstance.object
orinstance.instance_object
. Fixed argument position ininstance.sync_update
. Code improvements.