SetLayerToObject - current in layer list


(Wim Dekeyser) #1

When SetLayerToObject is used on an object that resides on a sublayer that is collapsed, the parent layer that is visible in the layer panel doesn’t get painted black (bold typeface).

In the following image, the current layer is set to a sublayer of the “REFERENCE LAYER - TEMPLATE” layer at the bottom of the list.

image

Often [but not always :no_mouth:], switching to another application and then back to Rhino will paint the list correctly. Just expanding any layer in the list will also trigger correct painting.

image

While playing around with this for this bug report, I had an instance where a parent layer remained bold when I set another layer as current:
image


(Pascal Golay) #2

Yep, got that, thanks.

https://mcneel.myjetbrains.com/youtrack/issue/RH-41166

-Pascal


(Brian Gillespie) #3

RH-41166 is fixed in the latest WIP