Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MOD_nodes.h « modifiers « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 053fb6e32443684577f2a712f857e0d541ce9ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

struct Main;
struct NodesModifierData;
struct Object;

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Rebuild the list of properties based on the sockets exposed as the modifier's node group
 * inputs. If any properties correspond to the old properties by name and type, carry over
 * the values.
 */
void MOD_nodes_update_interface(struct Object *object, struct NodesModifierData *nmd);

void MOD_nodes_init(struct Main *bmain, struct NodesModifierData *nmd);

#ifdef __cplusplus
}
#endif