Blender V5.3
BKE_main_invariants.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_span.hh"
12#include <optional>
13
14namespace blender {
15
16struct Main;
17struct ID;
18
44 std::optional<Span<ID *>> modified_ids = std::nullopt);
45
50void BKE_main_ensure_invariants(Main &bmain, ID &modified_id);
51
52} // namespace blender
BMesh Iterators.
void BKE_main_ensure_invariants(Main &bmain, std::optional< Span< ID * > > modified_ids=std::nullopt)