Skip to content

Conversation

@voylin
Copy link
Contributor

@voylin voylin commented May 7, 2022

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

@aaronfranke aaronfranke added this to the 4.0 milestone May 7, 2022
@aaronfranke aaronfranke added the bug label May 7, 2022
Copy link
Member

@aaronfranke aaronfranke left a 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.

@voylin
Copy link
Contributor Author

voylin commented May 7, 2022

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.

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
Copy link
Member

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.

Copy link
Contributor Author

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!

@voylin voylin requested a review from aaronfranke May 8, 2022 00:09
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
@aaronfranke aaronfranke merged commit c9193d1 into godotengine:4.0-dev May 8, 2022
@aaronfranke
Copy link
Member

Thanks for all of your work!

@voylin
Copy link
Contributor Author

voylin commented May 8, 2022

Thanks for all of your work!

I'm happy that I can help. ^^/

@voylin voylin deleted the FixGDPaintDemo branch May 8, 2022 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants