[BUG] Custom preview, Cycles XML material

grasshopper
cycles

(Lukasz Domagala) #1

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


(Nathan 'jesterKing' Letwory) #2

I think this one is for @DavidRutten


(David Rutten) #6

Can I get the 3dm file with those materials?


(Lukasz Domagala) #7

Here you are
cycles_xml.3dm (37.9 KB)


(David Rutten) #8

Thanks, I can repeat the problem.


(David Rutten) #9

@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.


(Lukasz Domagala) #10

Nice try :wink::joy:


(Nathan 'jesterKing' Letwory) #11

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.


(David Rutten) #12

This is now fixed.