[BUG] Custom preview, Cycles XML material

Hi @nathanletwory @DavidRutten
I’ve discovered a new bug in the latest 6.0.17164.11481 WIP

As you can see if you add cycles material in Rhino and custom preview you can easily Right Click on shader and select Rhino material which is great BUT if you create in Rhino Cycles XML material, Right Click on shader in Custom Preview isn’t available anymore

I think this one is for @DavidRutten

Can I get the 3dm file with those materials?

Here you are
cycles_xml.3dm (37.9 KB)

Thanks, I can repeat the problem.

@nathanletwory, exception thrown from within the RDK, I RH-39840 assigned to you. It’s fine if the method leaves the bitmap null, but I’d rather not put a try…catch block around the invoke.

Nice try :wink::joy:

I think that is due to an assert in the RDK in the unmanaged side, but I need to investigate that more.

The material does have an icon.

This is now fixed.

1 Like