Merge branch 'blender-v3.1-release'

This commit is contained in:
Jacques Lucke 2022-02-11 12:26:33 +01:00
commit fd98241cb8
1 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,15 @@ static void node_geo_exec(GeoNodeExecParams params)
{
const bool legacy_behavior = params.node().custom1 & GEO_NODE_REALIZE_INSTANCES_LEGACY_BEHAVIOR;
if (legacy_behavior) {
params.error_message_add(
NodeWarningType::Info,
TIP_("This node uses legacy behavior with regards to attributes on "
"instances. The behavior can be changed in the node properties in "
"the side bar. In most cases the new behavior is the same for files created in "
"Blender 3.0"));
}
GeometrySet geometry_set = params.extract_input<GeometrySet>("Geometry");
geometry::RealizeInstancesOptions options;
options.keep_original_ids = legacy_behavior;