You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out that using draw layers to quickly hide/show or delete lists of items gives a huge performance boost compared to doing it manually on each item.
As such I started making use of them a lot.
However I got an error when trying to create a draw layer inside a draw layer. I do not think there should be such a restriction.
Simply adding draw layers as possible child/parent of draw layers inside the code works in my usecase, but there might be a bit more work in order to handle correctly the optional properties of draw layers.
The text was updated successfully, but these errors were encountered:
Version of Dear PyGui
Version: 1.11.1
Operating System: Arch Linux
My Issue/Question
I found out that using draw layers to quickly hide/show or delete lists of items gives a huge performance boost compared to doing it manually on each item.
As such I started making use of them a lot.
However I got an error when trying to create a draw layer inside a draw layer. I do not think there should be such a restriction.
To Reproduce
This code raises the following error:
Expected behavior
Being able to use draw layers inside draw layers.
Simply adding draw layers as possible child/parent of draw layers inside the code works in my usecase, but there might be a bit more work in order to handle correctly the optional properties of draw layers.
The text was updated successfully, but these errors were encountered: