ChaosGroup / blender_with_vray_additions

Blender with patches for V-Ray *.vrscene export
Other
29 stars 13 forks source link

2 different material nodes linked from 2 different files + material nodes have the same name #183

Closed kasperski95 closed 7 years ago

kasperski95 commented 7 years ago

A file 'A' has a material node 'X', and a file 'B' has a different material node but also named 'X'. Issue occur in a file C, when both of these materials are linked to common file.

Update: There is even a bigger problem. If 2 group instances are linked to the same file, and an object within first group instance has the same name as another object in second group instance, one of these two won't be visible during rendering.

bdancer commented 7 years ago

Could you post a scene so I could check the exact setup?

kasperski95 commented 7 years ago

issues.zip

bdancer commented 7 years ago

Thanks, fixing...

bdancer commented 7 years ago

Fixed with https://github.com/bdancer/blender-for-vray/commit/7de8b05012a8716f442667a1484fcf38087fc5af, https://github.com/bdancer/blender-for-vray/commit/8c1350a0ee0d3a027c38665e8b683e10141d661a and https://github.com/bdancer/blender-for-vray/commit/a6c87b97abc896f9956dad336af921acd0215f1a.