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

Fixed color picker crashes the engine on Linux #7434

Closed
pwnSquirrel opened this issue Jan 5, 2017 · 4 comments
Closed

Fixed color picker crashes the engine on Linux #7434

pwnSquirrel opened this issue Jan 5, 2017 · 4 comments
Assignees
Milestone

Comments

@pwnSquirrel
Copy link
Contributor

Operating system or device - Godot version:
Arch Linux 64 - Latest build, master branch

Issue description (what happened, and what was expected):
The fixed color picker (from pull request #7431) crashes the engine when being used:

ERROR: get_child: Index p_index out of size (data.children.size()).
At: scene/main/node.cpp:1521.

This also happens immediately when I try to open an old project. A new empty poject can be opened, but it crashes as soon as I try to use the color picker (in project settings, for example).

I reverted that commit, recompiled and it worked again. So it is definitely caused by it.

Steps to reproduce:
Create empty project. Open it. Go to project settings/Render. Click on the default background color to pick a new one.

Link to minimal example project (optional but very welcome):

@pwnSquirrel
Copy link
Contributor Author

It seems to work now (no crash anymore). However, the color picker doesn't look like it should:

Color Picker

And the crosshairs don't move at all when I'm clicking.

@MarianoGnu
Copy link
Contributor

Yep, i have been testing this and want to fix it, but for some reason drawing colored polygons (non textured) is not working at all so it's a different issue, not sure if i can fix it.

@nunodonato
Copy link
Contributor

I can't reproduce this crash (Linux, Godot 3.0 master), but I opened a new issue for the color picker glitch #8372

@MarianoGnu
Copy link
Contributor

I'm closing this issue since the glitch has moved to #8372

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

No branches or pull requests

4 participants