-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fixing GD Paint Issues in 4.0-dev #741
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for these fixes! It works well on my system. But the panel's background color seems a bit bright.
You're welcome. I'm glad that I found out what was causing that strange saving bug. |
2d/gd_paint/tools_panel.gd
Outdated
@@ -95,7 +95,7 @@ func brush_color_changed(color): | |||
|
|||
func background_color_changed(color): | |||
# Change the background color to whatever colorthe background color picker is. | |||
get_parent().get_node(^"DrawingAreaBG").modulate = color | |||
get_parent().find_child(^"DrawingAreaBG").modulate = color |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed? This should still be get_node
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aah that got changed because I was testing with viewport containers instead. It was during the testing of SubViewports that I discovered the solution. Will change it right now!
The clipping happened because the panel was see-through. The saving is also fixed by changing some of the project settings. Update 2d/gd_paint/paint_root.tscn Co-authored-by: Aaron Franke <[email protected]> changeback to get_node
Thanks for all of your work! |
I'm happy that I can help. ^^/ |
The clipping happened because the panel was see-through.
The saving is also fixed by changing some of the project settings.
To fix the issues from #734