Skip to main content

choose_geometry

Function choose_geometry 

Source
pub async fn choose_geometry(
    pool: &PgPool,
    actor: &Actor,
    revision_id: Uuid,
    file_id: Option<Uuid>,
) -> AppResult<RevisionMass>
Expand description

Chooses the geometry file of a revision (None = back to automatic), keeping every other mass setting, like the one-click choice on the page. Same rules as update_settings.