chore: removed cluttering logs

This commit is contained in:
Sara Gerretsen 2026-04-23 23:29:19 +02:00
parent b0dd34a0d6
commit b6a84c4f73

View file

@ -92,19 +92,15 @@ void TerrainModifierPath::_notification(int what) {
float TerrainModifierPath::evaluate_at(Vector2 world_coordinate, float before) {
SharedMutex::LockShared shared{ this->lock };
if (this->path == nullptr) {
print_error("no path");
return before;
}
if (this->curve_left_buffer.is_null()) {
print_error("no curves");
return before;
}
if (this->path_buffer.is_null()) {
print_error("no path buffer");
return before;
}
if (this->path_buffer->get_point_count() <= 1) {
print_error("path buffer functionally empty");
return before;
}
Ref<Curve> right_curve{ this->curve_right_buffer };