Blender V5.0
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
14struct Main;
15struct ID;
16
42 std::optional<blender::Span<ID *>> modified_ids = std::nullopt);
43
48void BKE_main_ensure_invariants(Main &bmain, ID &modified_id);
void BKE_main_ensure_invariants(Main &bmain, std::optional< blender::Span< ID * > > modified_ids=std::nullopt)
Definition DNA_ID.h:414