mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add node configuration warnings for nested clipping and CanvasGroups
Many subclasses of CanvasItem had to have their `get_configuration_warnings` methods updated so they would display the warning as well Make clip children warning update whenever clip_children_mode is modified Update scene/main/canvas_item.h Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Add warning if ancestor of clipping CanvasItem is CanvasGroup Add warnings for CanvasGroup when ancestors are CanvasGroups or clip children
This commit is contained in:
parent
594d64ec24
commit
60a9c8e2ea
4 changed files with 70 additions and 0 deletions
|
|
@ -398,6 +398,8 @@ public:
|
|||
int get_canvas_layer() const;
|
||||
CanvasLayer *get_canvas_layer_node() const;
|
||||
|
||||
virtual PackedStringArray get_configuration_warnings() const override;
|
||||
|
||||
CanvasItem();
|
||||
~CanvasItem();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue