Compare commits
4 commits
61ba2a54f2
...
823d70a93c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
823d70a93c | ||
|
|
89861a9f55 | ||
|
|
c3fdb21f9f | ||
|
|
841571cf04 |
|
|
@ -124,7 +124,13 @@ void NoisePrimitive::evaluate(Vector2 at, float &io_height) const {
|
|||
}
|
||||
|
||||
void NoisePrimitive::set_noise(Ref<Noise> noise) {
|
||||
if (this->noise.is_valid()) {
|
||||
this->noise->disconnect_changed(callable_mp(cast_to<Resource>(this), &Resource::emit_changed));
|
||||
}
|
||||
this->noise = noise;
|
||||
if (this->noise.is_valid()) {
|
||||
this->noise->connect_changed(callable_mp(cast_to<Resource>(this), &Resource::emit_changed));
|
||||
}
|
||||
emit_changed();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ func _input_event(_camera: Camera3D, event: InputEvent, _event_position: Vector3
|
|||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mx0s0"]
|
||||
height = 9.59302
|
||||
radius = 4.85693
|
||||
radius = 5.78125
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_mx0s0"]
|
||||
script/source = "extends Area3D
|
||||
|
|
@ -61,7 +61,7 @@ func _input_event(_camera: Camera3D, event: InputEvent, _event_position: Vector3
|
|||
"
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_njtj3"]
|
||||
radius = 5.22192
|
||||
radius = 6.9789
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_njtj3"]
|
||||
top_radius = 0.4
|
||||
|
|
|
|||
|
|
@ -17,6 +17,5 @@ config/icon="res://icon.svg"
|
|||
|
||||
[rendering]
|
||||
|
||||
anti_aliasing/quality/msaa_2d=1
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
anti_aliasing/quality/use_debanding=true
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue