Initialize class/struct variables with default values in modules/
This commit is contained in:
parent
57e2822a05
commit
f7209b459b
100 changed files with 533 additions and 772 deletions
|
|
@ -625,15 +625,6 @@ void CSGShape3D::_bind_methods() {
|
|||
}
|
||||
|
||||
CSGShape3D::CSGShape3D() {
|
||||
operation = OPERATION_UNION;
|
||||
parent = nullptr;
|
||||
brush = nullptr;
|
||||
dirty = false;
|
||||
snap = 0.001;
|
||||
use_collision = false;
|
||||
collision_layer = 1;
|
||||
collision_mask = 1;
|
||||
calculate_tangents = true;
|
||||
set_notify_local_transform(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue