State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:None|BugID:120618|
Customer reported version
katanaunsure/unknown
Reproduced by support
This bug has been reproduced in:
Katana1.6v3
Katana2.0v1
Katana2.0v2
Earliest version tested
- This issue appears to be in all versions of the product
Expected behaviour
RenderOutputUtils::getFlattenedMaterialAttr() is supposed to return a "collapsed" material attribute derived from the material attribute at the given location and all of its parents. As well as a location (actually a geometry producer) it takes a list of terminals.
Actual behaviour
When the location passed to getFlattenedMaterialAttr() has no parent with a material attribute, getFlattenedMaterialAttr() simply returns the given location's "material" attribute. This means the list of terminals the user gave is effectively ignored.
We're sorry to hear that
Please tell us why