2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2005 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup modifiers
|
2011-02-25 13:57:17 +00:00
|
|
|
*/
|
|
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
#include <cstddef>
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2010-05-14 07:09:15 +00:00
|
|
|
#include "MEM_guardedalloc.h"
|
|
|
|
|
|
2021-10-27 14:40:18 +02:00
|
|
|
#include "BLI_task.h"
|
2019-02-25 11:39:14 +01:00
|
|
|
#include "BLI_utildefines.h"
|
|
|
|
|
|
2020-06-05 10:41:03 -04:00
|
|
|
#include "BLT_translation.h"
|
|
|
|
|
|
2018-08-29 15:32:50 +02:00
|
|
|
#include "DNA_collection_types.h"
|
2019-12-16 15:50:14 +01:00
|
|
|
#include "DNA_fluid_types.h"
|
2018-09-20 12:04:17 +02:00
|
|
|
#include "DNA_mesh_types.h"
|
2020-03-19 09:33:03 +01:00
|
|
|
#include "DNA_object_force_types.h"
|
|
|
|
|
#include "DNA_object_types.h"
|
|
|
|
|
#include "DNA_scene_types.h"
|
2020-06-05 10:41:03 -04:00
|
|
|
#include "DNA_screen_types.h"
|
2010-08-04 04:01:27 +00:00
|
|
|
|
2023-11-16 11:41:55 +01:00
|
|
|
#include "BKE_context.hh"
|
2020-03-19 09:33:03 +01:00
|
|
|
#include "BKE_fluid.h"
|
2024-01-23 15:18:09 -05:00
|
|
|
#include "BKE_layer.hh"
|
2024-01-18 12:20:42 +01:00
|
|
|
#include "BKE_lib_query.hh"
|
2023-11-14 09:30:40 +01:00
|
|
|
#include "BKE_modifier.hh"
|
2023-09-25 17:48:21 -04:00
|
|
|
#include "BKE_screen.hh"
|
2020-06-05 10:41:03 -04:00
|
|
|
|
2023-08-05 02:57:52 +02:00
|
|
|
#include "UI_interface.hh"
|
|
|
|
|
#include "UI_resources.hh"
|
2020-06-05 10:41:03 -04:00
|
|
|
|
2023-08-10 22:40:27 +02:00
|
|
|
#include "RNA_access.hh"
|
2022-03-14 16:54:46 +01:00
|
|
|
#include "RNA_prototypes.h"
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2023-09-22 03:18:17 +02:00
|
|
|
#include "DEG_depsgraph.hh"
|
|
|
|
|
#include "DEG_depsgraph_build.hh"
|
|
|
|
|
#include "DEG_depsgraph_physics.hh"
|
|
|
|
|
#include "DEG_depsgraph_query.hh"
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
#include "MOD_modifiertypes.hh"
|
|
|
|
|
#include "MOD_ui_common.hh"
|
2017-08-01 09:06:34 +10:00
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static void init_data(ModifierData *md)
|
2010-04-11 22:12:30 +00:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
2018-06-17 17:04:27 +02:00
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
fmd->domain = nullptr;
|
|
|
|
|
fmd->flow = nullptr;
|
|
|
|
|
fmd->effector = nullptr;
|
2020-07-03 11:51:15 +02:00
|
|
|
fmd->type = 0;
|
|
|
|
|
fmd->time = -1;
|
2010-04-11 22:12:30 +00:00
|
|
|
}
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static void copy_data(const ModifierData *md, ModifierData *target, const int flag)
|
2010-05-14 07:09:15 +00:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
const FluidModifierData *fmd = (const FluidModifierData *)md;
|
|
|
|
|
FluidModifierData *tfmd = (FluidModifierData *)target;
|
2018-06-17 17:04:27 +02:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
BKE_fluid_modifier_free(tfmd);
|
|
|
|
|
BKE_fluid_modifier_copy(fmd, tfmd, flag);
|
2010-05-14 07:09:15 +00:00
|
|
|
}
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static void free_data(ModifierData *md)
|
2010-04-11 22:12:30 +00:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
2018-06-17 17:04:27 +02:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
BKE_fluid_modifier_free(fmd);
|
2010-04-11 22:12:30 +00:00
|
|
|
}
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static void required_data_mask(ModifierData *md, CustomData_MeshMasks *r_cddata_masks)
|
2010-04-11 22:12:30 +00:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
2019-04-17 06:17:24 +02:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd && (fmd->type & MOD_FLUID_TYPE_FLOW) && fmd->flow) {
|
|
|
|
|
if (fmd->flow->source == FLUID_FLOW_SOURCE_MESH) {
|
2012-10-10 13:18:07 +00:00
|
|
|
/* vertex groups */
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd->flow->vgroup_density) {
|
Refactor CDData masks, to have one mask per mesh elem type.
We already have different storages for cddata of verts, edges etc.,
'simply' do the same for the mask flags we use all around Blender code
to request some data, or limit some operation to some layers, etc.
Reason we need this is that some cddata types (like Normals) are
actually shared between verts/polys/loops, and we don’t want to generate
clnors everytime we request vnors!
As a side note, this also does final fix to T59338, which was the
trigger for this patch (need to request computed loop normals for
another mesh than evaluated one).
Reviewers: brecht, campbellbarton, sergey
Differential Revision: https://developer.blender.org/D4407
2019-03-07 11:13:40 +01:00
|
|
|
r_cddata_masks->vmask |= CD_MASK_MDEFORMVERT;
|
2019-04-22 09:15:10 +10:00
|
|
|
}
|
2012-10-10 13:18:07 +00:00
|
|
|
/* uv layer */
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd->flow->texture_type == FLUID_FLOW_TEXTURE_MAP_UV) {
|
Refactor CDData masks, to have one mask per mesh elem type.
We already have different storages for cddata of verts, edges etc.,
'simply' do the same for the mask flags we use all around Blender code
to request some data, or limit some operation to some layers, etc.
Reason we need this is that some cddata types (like Normals) are
actually shared between verts/polys/loops, and we don’t want to generate
clnors everytime we request vnors!
As a side note, this also does final fix to T59338, which was the
trigger for this patch (need to request computed loop normals for
another mesh than evaluated one).
Reviewers: brecht, campbellbarton, sergey
Differential Revision: https://developer.blender.org/D4407
2019-03-07 11:13:40 +01:00
|
|
|
r_cddata_masks->fmask |= CD_MASK_MTFACE;
|
2019-04-22 09:15:10 +10:00
|
|
|
}
|
2012-10-10 13:18:07 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
struct FluidIsolationData {
|
2021-10-27 14:40:18 +02:00
|
|
|
Depsgraph *depsgraph;
|
|
|
|
|
Object *object;
|
|
|
|
|
Mesh *mesh;
|
|
|
|
|
FluidModifierData *fmd;
|
|
|
|
|
|
|
|
|
|
Mesh *result;
|
2023-05-04 18:35:37 +02:00
|
|
|
};
|
2021-10-27 14:40:18 +02:00
|
|
|
|
2021-10-28 00:24:22 +11:00
|
|
|
#ifdef WITH_FLUID
|
2021-10-27 14:40:18 +02:00
|
|
|
static void fluid_modifier_do_isolated(void *userdata)
|
|
|
|
|
{
|
|
|
|
|
FluidIsolationData *isolation_data = (FluidIsolationData *)userdata;
|
|
|
|
|
|
|
|
|
|
Scene *scene = DEG_get_evaluated_scene(isolation_data->depsgraph);
|
|
|
|
|
|
|
|
|
|
Mesh *result = BKE_fluid_modifier_do(isolation_data->fmd,
|
|
|
|
|
isolation_data->depsgraph,
|
|
|
|
|
scene,
|
|
|
|
|
isolation_data->object,
|
|
|
|
|
isolation_data->mesh);
|
|
|
|
|
isolation_data->result = result ? result : isolation_data->mesh;
|
|
|
|
|
}
|
2021-10-28 00:24:22 +11:00
|
|
|
#endif /* WITH_FLUID */
|
2021-10-27 14:40:18 +02:00
|
|
|
|
2023-12-08 16:40:06 -05:00
|
|
|
static Mesh *modify_mesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh)
|
2012-10-10 13:18:07 +00:00
|
|
|
{
|
2019-12-17 08:38:08 +11:00
|
|
|
#ifndef WITH_FLUID
|
|
|
|
|
UNUSED_VARS(md, ctx);
|
2023-12-08 16:40:06 -05:00
|
|
|
return mesh;
|
2019-12-17 08:38:08 +11:00
|
|
|
#else
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2018-06-22 15:03:42 +02:00
|
|
|
if (ctx->flag & MOD_APPLY_ORCO) {
|
2023-12-08 16:40:06 -05:00
|
|
|
return mesh;
|
2018-06-22 15:03:42 +02:00
|
|
|
}
|
2013-12-19 18:25:14 +01:00
|
|
|
|
2021-10-27 14:40:18 +02:00
|
|
|
/* Isolate execution of Mantaflow when running from dependency graph. The reason for this is
|
|
|
|
|
* because Mantaflow uses TBB to parallel its own computation which without isolation will start
|
|
|
|
|
* stealing tasks from dependency graph. Stealing tasks from the dependency graph might cause
|
|
|
|
|
* a recursive lock when Python drivers are used (because Mantaflow is interfaced via Python as
|
|
|
|
|
* well. */
|
|
|
|
|
FluidIsolationData isolation_data;
|
|
|
|
|
isolation_data.depsgraph = ctx->depsgraph;
|
|
|
|
|
isolation_data.object = ctx->object;
|
2023-12-08 16:40:06 -05:00
|
|
|
isolation_data.mesh = mesh;
|
2021-10-27 14:40:18 +02:00
|
|
|
isolation_data.fmd = fmd;
|
|
|
|
|
BLI_task_isolate(fluid_modifier_do_isolated, &isolation_data);
|
|
|
|
|
|
|
|
|
|
return isolation_data.result;
|
2019-12-17 08:38:08 +11:00
|
|
|
#endif /* WITH_FLUID */
|
2010-04-11 22:12:30 +00:00
|
|
|
}
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static bool depends_on_time(Scene * /*scene*/, ModifierData * /*md*/)
|
2010-04-11 22:12:30 +00:00
|
|
|
{
|
2013-06-02 03:59:19 +00:00
|
|
|
return true;
|
2010-04-11 22:12:30 +00:00
|
|
|
}
|
|
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
static bool is_flow_cb(Object * /*ob*/, ModifierData *md)
|
2015-03-10 16:51:29 +05:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
|
|
|
|
return (fmd->type & MOD_FLUID_TYPE_FLOW) && fmd->flow;
|
2015-03-10 16:51:29 +05:00
|
|
|
}
|
|
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
static bool is_coll_cb(Object * /*ob*/, ModifierData *md)
|
2015-03-10 16:51:29 +05:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
|
|
|
|
return (fmd->type & MOD_FLUID_TYPE_EFFEC) && fmd->effector;
|
2015-03-10 16:51:29 +05:00
|
|
|
}
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static void update_depsgraph(ModifierData *md, const ModifierUpdateDepsgraphContext *ctx)
|
Depsgraph: New dependency graph integration commit
This commit integrates the work done so far on the new dependency graph system,
where goal was to replace legacy depsgraph with the new one, supporting loads of
neat features like:
- More granular dependency relation nature, which solves issues with fake cycles
in the dependencies.
- Move towards all-animatable, by better integration of drivers into the system.
- Lay down some basis for upcoming copy-on-write, overrides and so on.
The new system is living side-by-side with the previous one and disabled by
default, so nothing will become suddenly broken. The way to enable new depsgraph
is to pass `--new-depsgraph` command line argument.
It's a bit early to consider the system production-ready, there are some TODOs
and issues were discovered during the merge period, they'll be addressed ASAP.
But it's important to merge, because it's the only way to attract artists to
really start testing this system.
There are number of assorted documents related on the design of the new system:
* http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents
* http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph
There are also some user-related information online:
* http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/
* http://code.blender.org/2015/03/more-dependency-graph-tricks/
Kudos to everyone who was involved into the project:
- Joshua "Aligorith" Leung -- design specification, initial code
- Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes
- Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the
project and so
- Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the
issues and recording/writing documentation.
- Everyone else who i forgot to mention here :)
2015-05-12 15:05:57 +05:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
2019-04-17 06:17:24 +02:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd && (fmd->type & MOD_FLUID_TYPE_DOMAIN) && fmd->domain) {
|
2018-06-22 14:42:03 +02:00
|
|
|
DEG_add_collision_relations(ctx->node,
|
|
|
|
|
ctx->object,
|
2020-07-03 11:51:15 +02:00
|
|
|
fmd->domain->fluid_group,
|
2019-12-16 15:50:14 +01:00
|
|
|
eModifierType_Fluid,
|
2018-06-22 14:42:03 +02:00
|
|
|
is_flow_cb,
|
2019-12-16 15:50:14 +01:00
|
|
|
"Fluid Flow");
|
2018-06-22 14:42:03 +02:00
|
|
|
DEG_add_collision_relations(ctx->node,
|
|
|
|
|
ctx->object,
|
2020-07-03 11:51:15 +02:00
|
|
|
fmd->domain->effector_group,
|
2019-12-16 15:50:14 +01:00
|
|
|
eModifierType_Fluid,
|
2018-06-22 14:42:03 +02:00
|
|
|
is_coll_cb,
|
2019-12-16 15:50:14 +01:00
|
|
|
"Fluid Effector");
|
2018-06-22 14:42:03 +02:00
|
|
|
DEG_add_forcefield_relations(ctx->node,
|
|
|
|
|
ctx->object,
|
2020-07-03 11:51:15 +02:00
|
|
|
fmd->domain->effector_weights,
|
2018-06-22 14:42:03 +02:00
|
|
|
true,
|
2020-05-14 10:30:11 +02:00
|
|
|
PFIELD_FLUIDFLOW,
|
2019-12-16 15:50:14 +01:00
|
|
|
"Fluid Force Field");
|
|
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
if (fmd->domain->guide_parent != nullptr) {
|
2019-12-16 15:50:14 +01:00
|
|
|
DEG_add_object_relation(
|
2020-07-03 11:51:15 +02:00
|
|
|
ctx->node, fmd->domain->guide_parent, DEG_OB_COMP_TRANSFORM, "Fluid Guiding Object");
|
2019-12-16 15:50:14 +01:00
|
|
|
DEG_add_object_relation(
|
2020-07-03 11:51:15 +02:00
|
|
|
ctx->node, fmd->domain->guide_parent, DEG_OB_COMP_GEOMETRY, "Fluid Guiding Object");
|
2019-12-16 15:50:14 +01:00
|
|
|
}
|
Depsgraph: New dependency graph integration commit
This commit integrates the work done so far on the new dependency graph system,
where goal was to replace legacy depsgraph with the new one, supporting loads of
neat features like:
- More granular dependency relation nature, which solves issues with fake cycles
in the dependencies.
- Move towards all-animatable, by better integration of drivers into the system.
- Lay down some basis for upcoming copy-on-write, overrides and so on.
The new system is living side-by-side with the previous one and disabled by
default, so nothing will become suddenly broken. The way to enable new depsgraph
is to pass `--new-depsgraph` command line argument.
It's a bit early to consider the system production-ready, there are some TODOs
and issues were discovered during the merge period, they'll be addressed ASAP.
But it's important to merge, because it's the only way to attract artists to
really start testing this system.
There are number of assorted documents related on the design of the new system:
* http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents
* http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph
There are also some user-related information online:
* http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/
* http://code.blender.org/2015/03/more-dependency-graph-tricks/
Kudos to everyone who was involved into the project:
- Joshua "Aligorith" Leung -- design specification, initial code
- Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes
- Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the
project and so
- Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the
issues and recording/writing documentation.
- Everyone else who i forgot to mention here :)
2015-05-12 15:05:57 +05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static void foreach_ID_link(ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data)
|
2011-03-31 11:21:21 +00:00
|
|
|
{
|
2020-07-03 11:51:15 +02:00
|
|
|
FluidModifierData *fmd = (FluidModifierData *)md;
|
2011-03-31 11:21:21 +00:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd->type == MOD_FLUID_TYPE_DOMAIN && fmd->domain) {
|
2023-07-27 12:04:18 +10:00
|
|
|
walk(user_data, ob, (ID **)&fmd->domain->effector_group, IDWALK_CB_NOP);
|
|
|
|
|
walk(user_data, ob, (ID **)&fmd->domain->fluid_group, IDWALK_CB_NOP);
|
|
|
|
|
walk(user_data, ob, (ID **)&fmd->domain->force_group, IDWALK_CB_NOP);
|
2019-12-16 15:50:14 +01:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd->domain->guide_parent) {
|
2023-07-27 12:04:18 +10:00
|
|
|
walk(user_data, ob, (ID **)&fmd->domain->guide_parent, IDWALK_CB_NOP);
|
2019-12-16 15:50:14 +01:00
|
|
|
}
|
2011-06-08 16:00:52 +00:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd->domain->effector_weights) {
|
2023-07-27 12:04:18 +10:00
|
|
|
walk(user_data, ob, (ID **)&fmd->domain->effector_weights->group, IDWALK_CB_USER);
|
2011-06-08 16:00:52 +00:00
|
|
|
}
|
2011-03-31 11:21:21 +00:00
|
|
|
}
|
2012-10-10 13:18:07 +00:00
|
|
|
|
2020-07-03 11:51:15 +02:00
|
|
|
if (fmd->type == MOD_FLUID_TYPE_FLOW && fmd->flow) {
|
2023-07-27 12:04:18 +10:00
|
|
|
walk(user_data, ob, (ID **)&fmd->flow->noise_texture, IDWALK_CB_USER);
|
2012-10-10 13:18:07 +00:00
|
|
|
}
|
2011-03-31 11:21:21 +00:00
|
|
|
}
|
2010-04-11 22:12:30 +00:00
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
static void panel_draw(const bContext * /*C*/, Panel *panel)
|
2020-06-05 10:41:03 -04:00
|
|
|
{
|
|
|
|
|
uiLayout *layout = panel->layout;
|
|
|
|
|
|
2023-05-04 18:35:37 +02:00
|
|
|
PointerRNA *ptr = modifier_panel_get_property_pointers(panel, nullptr);
|
2020-06-05 10:41:03 -04:00
|
|
|
|
2024-01-11 19:49:03 +01:00
|
|
|
uiItemL(layout, RPT_("Settings are inside the Physics tab"), ICON_NONE);
|
2020-06-05 10:41:03 -04:00
|
|
|
|
2020-09-02 14:13:26 -05:00
|
|
|
modifier_panel_end(layout, ptr);
|
2020-06-05 10:41:03 -04:00
|
|
|
}
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
static void panel_register(ARegionType *region_type)
|
2020-06-05 10:41:03 -04:00
|
|
|
{
|
|
|
|
|
modifier_panel_register(region_type, eModifierType_Fluid, panel_draw);
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-16 15:50:14 +01:00
|
|
|
ModifierTypeInfo modifierType_Fluid = {
|
2023-07-26 17:08:14 +02:00
|
|
|
/*idname*/ "Fluid",
|
2023-01-16 12:41:11 +11:00
|
|
|
/*name*/ N_("Fluid"),
|
2023-07-27 12:04:18 +10:00
|
|
|
/*struct_name*/ "FluidModifierData",
|
|
|
|
|
/*struct_size*/ sizeof(FluidModifierData),
|
2023-01-16 12:41:11 +11:00
|
|
|
/*srna*/ &RNA_FluidModifier,
|
2023-11-14 10:03:56 +01:00
|
|
|
/*type*/ ModifierTypeType::Constructive,
|
2023-01-16 12:41:11 +11:00
|
|
|
/*flags*/ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_Single,
|
|
|
|
|
/*icon*/ ICON_MOD_FLUIDSIM,
|
|
|
|
|
|
2023-07-27 12:04:18 +10:00
|
|
|
/*copy_data*/ copy_data,
|
|
|
|
|
|
|
|
|
|
/*deform_verts*/ nullptr,
|
|
|
|
|
/*deform_matrices*/ nullptr,
|
|
|
|
|
/*deform_verts_EM*/ nullptr,
|
|
|
|
|
/*deform_matrices_EM*/ nullptr,
|
|
|
|
|
/*modify_mesh*/ modify_mesh,
|
|
|
|
|
/*modify_geometry_set*/ nullptr,
|
|
|
|
|
|
|
|
|
|
/*init_data*/ init_data,
|
|
|
|
|
/*required_data_mask*/ required_data_mask,
|
|
|
|
|
/*free_data*/ free_data,
|
|
|
|
|
/*is_disabled*/ nullptr,
|
|
|
|
|
/*update_depsgraph*/ update_depsgraph,
|
|
|
|
|
/*depends_on_time*/ depends_on_time,
|
|
|
|
|
/*depends_on_normals*/ nullptr,
|
|
|
|
|
/*foreach_ID_link*/ foreach_ID_link,
|
|
|
|
|
/*foreach_tex_link*/ nullptr,
|
|
|
|
|
/*free_runtime_data*/ nullptr,
|
|
|
|
|
/*panel_register*/ panel_register,
|
|
|
|
|
/*blend_write*/ nullptr,
|
|
|
|
|
/*blend_read*/ nullptr,
|
2024-01-18 22:51:30 +01:00
|
|
|
/*foreach_cache*/ nullptr,
|
2010-04-11 22:12:30 +00:00
|
|
|
};
|