mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits.
This commit is contained in:
parent
4aa31a2851
commit
cf8c679a23
89 changed files with 337 additions and 287 deletions
|
|
@ -200,7 +200,7 @@ void CanvasLayer::set_custom_viewport(Node *p_viewport) {
|
|||
if (custom_viewport) {
|
||||
custom_viewport_id = custom_viewport->get_instance_id();
|
||||
} else {
|
||||
custom_viewport_id = 0;
|
||||
custom_viewport_id = ObjectID();
|
||||
}
|
||||
|
||||
if (is_inside_tree()) {
|
||||
|
|
@ -327,7 +327,7 @@ CanvasLayer::CanvasLayer() {
|
|||
layer = 1;
|
||||
canvas = VS::get_singleton()->canvas_create();
|
||||
custom_viewport = NULL;
|
||||
custom_viewport_id = 0;
|
||||
|
||||
sort_index = 0;
|
||||
follow_viewport = false;
|
||||
follow_viewport_scale = 1.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue