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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-02-11 14:26:33 +0300
committerJacques Lucke <jacques@blender.org>2022-02-11 14:26:33 +0300
commitfd98241cb80c63ed0b3515cb4976ad786d7540c8 (patch)
tree582aeac7d5c621f2417675824a55656b0751b3bf /source
parentf19585656f62935c93c6b85a0778327d0064fa3a (diff)
parentb38f40e90475f3a835e4f99cdc27d3891aad7787 (diff)
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_realize_instances.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_realize_instances.cc b/source/blender/nodes/geometry/nodes/node_geo_realize_instances.cc
index 164ffe0e713..1c72d73d151 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_realize_instances.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_realize_instances.cc
@@ -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;