GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

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.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
480 stars 56 forks source link

RPRBLND-2280: issue with instances with Blender 2.93LTS scene. #619

Closed VascoPi closed 1 year ago

VascoPi commented 1 year ago

PURPOSE

In case a scene contains data items with the same name, while synchronization a rpr_shape in mesh_masters can be overridden with another one. For instance, we have mesh and curve objects with the same names. In both cases, obj.data.name_full is the same but the types and data are different.

EFFECT OF CHANGE

Fixed issue with Blender 2.93LTS scene. (regression https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderBlenderAddon/pull/592)

TECHNICAL STEPS

Implemented key function for the mesh module using obj.original to get the initial object type and combine the key string. Adjusted the code.