Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes direct SettingsPanel insertion bug #7

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

LightTab2
Copy link
Contributor

@LightTab2 LightTab2 commented Sep 29, 2024

Fixes #6.

Instead of an assertion, a normal "if" check is made.

Instead of an assertion, a normal "if" check is made
albinaask added a commit to LightTab2/SEAL that referenced this pull request Sep 30, 2024
Solves albinaask#7 (& albinaask#14).

Co-Authored-By: LightTab2 <azorro12@gmail.com>
Solves albinaask#7 (& albinaask#14).

Co-Authored-By: LightTab2 <azorro12@gmail.com>
@albinaask albinaask force-pushed the Direct-SettingsPanel-fix branch from 435a32c to 40b6008 Compare September 30, 2024 18:57
@albinaask albinaask merged commit f1a1305 into albinaask:main Sep 30, 2024
@albinaask
Copy link
Owner

Thanks a lot!! I'll merge it!

btw, the reason I slightly modified the code is to reduce branches. After doing some quite extensive performance testing for the 1.0 release (like 15 hours or so) after having the popup take like 150ms to happen on my laptop I didn't find a clear culprit, but concluded that if-statements in gd script are horribly slow, so I went on a mad rant to remove every one I could and swapped them for asserts (including the one causing the bug funny enough). Again. Thanks a lot for taking the time to do this. It really makes a big difference and the credit for the bug and fix is all yours, I'm just nit picking :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] SettingsPanel can't be added directly to the Scene
2 participants