mirror of
https://github.com/godotengine/godot.git
synced 2025-03-19 23:53:32 +08:00
Remove memory leak in Canvas Group
This commit is contained in:
parent
950dedbb68
commit
b0f28d2259
@ -84,4 +84,5 @@ CanvasGroup::CanvasGroup() {
|
||||
set_fit_margin(10.0); //sets things
|
||||
}
|
||||
CanvasGroup::~CanvasGroup() {
|
||||
RS::get_singleton()->canvas_item_set_canvas_group_mode(get_canvas_item(), RS::CANVAS_GROUP_MODE_DISABLED);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user