Possible layer bug

issue

#1

Hi,
I may have found an issue with layers and undoing. The steps are the following:

  • Create a layer with some objects inside
  • Hide the layer
  • Delete the layer
  • Undo

the layer is restored and the objects are not visible but the lightbulb in the UI is on. If I turn it off and on again the objects are visible again. Is this intended? Is is only a UI refresh that is missing or wrong or is it something different?

Thanks a lot
Alberto


(Wim Dekeyser) #2

I couldn’t reproduce that on my system. When I undo, the deleted layer is reinstated and turned ON, and the object is visible.

  • Scene: no objects, only 1 layer
  • Make new layer
  • Create box on the active layer (which is NOT the new one)
  • Move the box to the new layer
  • Turn the new layer OFF
  • Delete the new layer and answer yes to the question to delete the object
  • Undo

#3

So the fact that the layer is visible, even though the previous state was invisible is correct?


(Wim Dekeyser) #4

Well… That’s an entirely different question. I would consider that a buglet, yes.
Filed as RH-46432


#5

Cool, I could not reproduce it with the hidden objects again so seems it is a bug in our plugin :smiley: