Compare commits

..

No commits in common. "823d70a93c07089e70139173e8f80ac0b96cc947" and "61ba2a54f2425ea374d8a28248f91139958f81aa" have entirely different histories.

4 changed files with 19 additions and 60 deletions

View file

@ -124,13 +124,7 @@ void NoisePrimitive::evaluate(Vector2 at, float &io_height) const {
} }
void NoisePrimitive::set_noise(Ref<Noise> noise) { 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; this->noise = noise;
if (this->noise.is_valid()) {
this->noise->connect_changed(callable_mp(cast_to<Resource>(this), &Resource::emit_changed));
}
emit_changed(); emit_changed();
} }

View file

@ -30,7 +30,7 @@ func _input_event(_camera: Camera3D, event: InputEvent, _event_position: Vector3
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mx0s0"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_mx0s0"]
height = 9.59302 height = 9.59302
radius = 5.78125 radius = 4.85693
[sub_resource type="GDScript" id="GDScript_mx0s0"] [sub_resource type="GDScript" id="GDScript_mx0s0"]
script/source = "extends Area3D 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"] [sub_resource type="SphereShape3D" id="SphereShape3D_njtj3"]
radius = 6.9789 radius = 5.22192
[sub_resource type="CylinderMesh" id="CylinderMesh_njtj3"] [sub_resource type="CylinderMesh" id="CylinderMesh_njtj3"]
top_radius = 0.4 top_radius = 0.4

View file

@ -17,5 +17,6 @@ config/icon="res://icon.svg"
[rendering] [rendering]
anti_aliasing/quality/msaa_2d=1
anti_aliasing/quality/msaa_3d=2 anti_aliasing/quality/msaa_3d=2
anti_aliasing/quality/use_debanding=true anti_aliasing/quality/use_debanding=true

File diff suppressed because one or more lines are too long