Compositor: Use RBF Interpolation in Keying Screen node #112480
|
@ -29,7 +29,7 @@ extern "C" {
|
|||
|
||||
/* Blender file format version. */
|
||||
#define BLENDER_FILE_VERSION BLENDER_VERSION
|
||||
#define BLENDER_FILE_SUBVERSION 1
|
||||
#define BLENDER_FILE_SUBVERSION 0
|
||||
|
||||
/* Minimum Blender version that supports reading file written with the current
|
||||
* version. Older Blender versions will test this and cancel loading the file, showing a warning to
|
||||
|
|
|
@ -1012,17 +1012,6 @@ static void enable_geometry_nodes_is_modifier(Main &bmain)
|
|||
}
|
||||
}
|
||||
|
||||
static void set_default_keying_screen_smoothness(bNodeTree *ntree)
|
||||
{
|
||||
LISTBASE_FOREACH (bNode *, node, &ntree->nodes) {
|
||||
if (node->type != CMP_NODE_KEYINGSCREEN) {
|
||||
continue;
|
||||
}
|
||||
NodeKeyingScreenData *data = static_cast<NodeKeyingScreenData *>(node->storage);
|
||||
data->smoothness = 0.2f;
|
||||
}
|
||||
}
|
||||
|
||||
void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain)
|
||||
{
|
||||
if (!MAIN_VERSION_FILE_ATLEAST(bmain, 400, 1)) {
|
||||
|
@ -1641,16 +1630,6 @@ void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!MAIN_VERSION_FILE_ATLEAST(bmain, 401, 1)) {
|
||||
FOREACH_NODETREE_BEGIN (bmain, ntree, id) {
|
||||
if (ntree->type == NTREE_COMPOSIT) {
|
||||
set_default_keying_screen_smoothness(ntree);
|
||||
}
|
||||
}
|
||||
FOREACH_NODETREE_END;
|
||||
}
|
||||
|
||||
/**
|
||||
* Versioning code until next subversion bump goes here.
|
||||
*
|
||||
|
|
|
@ -41,7 +41,7 @@ static void node_composit_init_keyingscreen(const bContext *C, PointerRNA *ptr)
|
|||
bNode *node = (bNode *)ptr->data;
|
||||
|
||||
NodeKeyingScreenData *data = MEM_cnew<NodeKeyingScreenData>(__func__);
|
||||
data->smoothness = 0.2f;
|
||||
data->smoothness = 0.0f;
|
||||
node->storage = data;
|
||||
|
||||
const Scene *scene = CTX_data_scene(C);
|
||||
|
|
Loading…
Reference in New Issue