Facepunch / sbox-issues

181 stars 12 forks source link

[Asset Browser] Clicking "Show Base Content" while in a Asset Browser pop-up window doesn't function correctly #7506

Open Retroeer opened 4 days ago

Retroeer commented 4 days ago

Describe the bug

While in a Asset Browser pop-up window "Show Base Content" does not function until a refresh occurs (ie Expanding a folder) After a refresh occurs behaviour returns to normal However, after a refresh occurs only that pop-up window will be showing base content, in the main docked Asset Browser window the "Show Base Content" option will be toggled on, but it will not show base content regardless of a refresh, the only way to fix it at this point is to toggle it off and back on again.

To Reproduce

  1. Make a ModelRenderer (probably the quickest and simplest way to getting to this window)
  2. Click the Model property
  3. While in this pop-up Asset Browser, click "Show Base Content"
  4. Base Content will not display until a refresh occurs
  5. Closing the window and going to the docked Asset Browser will show the toggle as "on" despite not displaying

Expected behavior

Showing Base Content should work immediately in the pop-up window, and toggling it on should automatically show it for the main docked Asset Browser

Media/Files

No response

Additional context

No response